mirror of
https://github.com/yquake2/rogue.git
synced 2024-11-26 06:00:50 +00:00
Quick code style fix
This commit is contained in:
parent
66da1722ca
commit
fbbe82d543
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue