Half-Life: Fix the bug that WEAPON_SNARK doesn't get removed from the inventory when all snarks have been deployed.
This commit is contained in:
parent
4323dd71bd
commit
80c5cdc5f9
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ void w_snark_primary(void)
|
|||
w_snark_deploy();
|
||||
pl.ammo_snark--;
|
||||
|
||||
if (pl.a_ammo2 <= 0) {
|
||||
if (pl.ammo_snark <= 0) {
|
||||
Weapons_RemoveItem(pl, WEAPON_SNARK);
|
||||
}
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue