Quick code style fix

This commit is contained in:
BjossiAlfreds 2019-09-19 23:52:06 +00:00
parent 66da1722ca
commit fbbe82d543
1 changed files with 2 additions and 0 deletions

View File

@ -2334,7 +2334,9 @@ weapon_etf_rifle_fire(edict_t *ent)
ent->client->ps.gunframe++;
if (!((int)dmflags->value & DF_INFINITE_AMMO))
{
ent->client->pers.inventory[ent->client->ammo_index] -= ent->client->pers.weapon->quantity;
}
ent->client->anim_priority = ANIM_ATTACK;