Half-Life: Fix WEAPON_SHOTGUN ammo3 being reset every function call.
This commit is contained in:
parent
e2fc274b70
commit
969b488ed6
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue