Quick code style fix

This commit is contained in:
BjossiAlfreds 2019-09-19 23:52:06 +00:00
parent 66da1722ca
commit fbbe82d543

View file

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