mirror of
https://github.com/openmoh/openmohaa.git
synced 2025-05-09 20:18:17 +03:00
Return "unarmed" for item prefix/name that cannot be found
This commit is contained in:
parent
cc62ebcffc
commit
c5e48c67bb
1 changed files with 2 additions and 2 deletions
|
@ -123,7 +123,7 @@ const char *GetItemName(const char *prefix, qboolean *mohprefix)
|
||||||
*mohprefix = false;
|
*mohprefix = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "Unarmed";
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *GetItemPrefix(const char *name, qboolean *mohprefix)
|
const char *GetItemPrefix(const char *name, qboolean *mohprefix)
|
||||||
|
@ -142,7 +142,7 @@ const char *GetItemPrefix(const char *name, qboolean *mohprefix)
|
||||||
*mohprefix = false;
|
*mohprefix = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
return "";
|
return "unarmed";
|
||||||
}
|
}
|
||||||
|
|
||||||
Event EV_Item_Pickup
|
Event EV_Item_Pickup
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue