mirror of
https://github.com/id-Software/quake2-rerelease-dll.git
synced 2025-03-14 12:20:45 +00:00
Not quite C++ compat
This commit is contained in:
parent
ec05aa5368
commit
408f36a92a
1 changed files with 1 additions and 1 deletions
|
@ -980,7 +980,7 @@ void Weapon_Repeating(edict_t *ent, int FRAME_ACTIVATE_LAST, int FRAME_FIRE_LAST
|
|||
|
||||
void DropSpecialWeapon(edict_t* ent)
|
||||
{
|
||||
int itemNum = ent->client->pers.weapon->id ? : 0;
|
||||
int itemNum = ent->client->pers.weapon->id;
|
||||
|
||||
// first check if their current weapon is a special weapon, if so, drop it.
|
||||
if (itemNum >= MP5_NUM && itemNum <= SNIPER_NUM)
|
||||
|
|
Loading…
Reference in a new issue