mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
WWII GI: Fix the chaingun replacement to always reload even if you continue holding down fire.
git-svn-id: https://svn.eduke32.com/eduke32@6871 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
e9aa30ceee
commit
b3bd2e686c
1 changed files with 7 additions and 0 deletions
|
@ -1946,6 +1946,13 @@ static void P_FireWeapon(int playerNum)
|
|||
#endif // POLYMER
|
||||
pPlayer->visibility = 0;
|
||||
}
|
||||
|
||||
if (/*!(PWEAPON(playerNum, p->curr_weapon, Flags) & WEAPON_CHECKATRELOAD) && */ pPlayer->reloading == 1 ||
|
||||
(PWEAPON(playerNum, pPlayer->curr_weapon, Reload) > PWEAPON(playerNum, pPlayer->curr_weapon, TotalTime) && pPlayer->ammo_amount[pPlayer->curr_weapon] > 0
|
||||
&& (PWEAPON(playerNum, pPlayer->curr_weapon, Clip)) && (((pPlayer->ammo_amount[pPlayer->curr_weapon]%(PWEAPON(playerNum, pPlayer->curr_weapon, Clip)))==0))))
|
||||
{
|
||||
pPlayer->kickback_pic = PWEAPON(playerNum, pPlayer->curr_weapon, TotalTime);
|
||||
}
|
||||
}
|
||||
|
||||
static void P_DoWeaponSpawn(int playerNum)
|
||||
|
|
Loading…
Reference in a new issue