WWII GI: Fix the chaingun replacement to not fire in bursts of 3 per fire button press.

git-svn-id: https://svn.eduke32.com/eduke32@6870 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2018-05-02 07:12:58 +00:00
parent 1d75fa13a4
commit e9aa30ceee

View file

@ -4217,7 +4217,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)
if (TEST_SYNC_KEY(playerBits, SK_FIRE) == 0 /*&& PWEAPON(playerNum, pPlayer->curr_weapon, Flags) & WEAPON_RESET*/)
*weaponFrame = PWEAPON(playerNum, pPlayer->curr_weapon, TotalTime);
if (PWEAPON(playerNum, pPlayer->curr_weapon, Flags) & WEAPON_FIREEVERYTHIRD)
{