Half-Life: Fix WEAPON_SHOTGUN ammo3 being reset every function call.

This commit is contained in:
Marco Cawthorne 2019-09-17 03:12:14 +02:00
parent e2fc274b70
commit 969b488ed6

View file

@ -49,7 +49,7 @@ void w_shotgun_precache(void)
void w_shotgun_updateammo(player pl) void w_shotgun_updateammo(player pl)
{ {
#ifdef SSQC #ifdef SSQC
Weapons_UpdateAmmo(pl, pl.shotgun_mag, pl.ammo_buckshot, __NULL__); Weapons_UpdateAmmo(pl, pl.shotgun_mag, pl.ammo_buckshot, -1);
#endif #endif
} }
string w_shotgun_wmodel(void) string w_shotgun_wmodel(void)