mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
- Fixed: Rampage timer should only reset when the weapon is ready to be fired.
This commit is contained in:
parent
a62996386d
commit
4770b9b27b
1 changed files with 2 additions and 1 deletions
|
@ -270,7 +270,8 @@ void FMugShot::Tick(player_t *player)
|
|||
RampageTimer++;
|
||||
}
|
||||
}
|
||||
else
|
||||
// Only reset the rampage timer if the weapon becomes ready to fire.
|
||||
else if((player->WeaponState & (WF_WEAPONREADY|WF_WEAPONREADYALT)))
|
||||
{
|
||||
RampageTimer = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue