Fix weird bug with the shotgun caused by leftover code from the electric gun in LameDuke.

No, really.

git-svn-id: https://svn.eduke32.com/eduke32@6774 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2018-03-17 03:44:10 +00:00
parent 9ea4f8f802
commit 18b9113c50

View file

@ -3898,7 +3898,7 @@ static void P_ProcessWeapon(int playerNum)
break;
case SHOTGUN_WEAPON:
if (pPlayer->ammo_amount[pPlayer->curr_weapon] > 0 && pPlayer->random_club_frame == 0)
if (pPlayer->ammo_amount[pPlayer->curr_weapon] > 0)
{
(*weaponFrame) = 1;
if (PWEAPON(playerNum, pPlayer->curr_weapon, InitialSound) > 0)