mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-02-07 22:21:01 +00:00
Fix the bug where tapping (but not holding) fire with 1 ammo left for the chaingun would fail to switch away.
Reported by RunningDuke. git-svn-id: https://svn.eduke32.com/eduke32@6480 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
17c4d27298
commit
04d1f0eb29
1 changed files with 1 additions and 1 deletions
|
@ -4194,7 +4194,7 @@ static void P_ProcessWeapon(int playerNum)
|
|||
if (!(PWEAPON(playerNum, pPlayer->curr_weapon, Flags) & WEAPON_SEMIAUTO))
|
||||
{
|
||||
if (TEST_SYNC_KEY(playerBits, SK_FIRE) == 0 && PWEAPON(playerNum, pPlayer->curr_weapon, Flags) & WEAPON_RESET)
|
||||
*weaponFrame = 0;
|
||||
*weaponFrame = PWEAPON(playerNum, pPlayer->curr_weapon, TotalTime);
|
||||
if (PWEAPON(playerNum, pPlayer->curr_weapon, Flags) & WEAPON_FIREEVERYTHIRD)
|
||||
{
|
||||
if (((*(weaponFrame))%3) == 0)
|
||||
|
|
Loading…
Reference in a new issue