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
1 changed files with 1 additions and 1 deletions

View File

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