From 18b9113c50d33a10e08c99bd5f51cde15ea111ab Mon Sep 17 00:00:00 2001 From: terminx Date: Sat, 17 Mar 2018 03:44:10 +0000 Subject: [PATCH] 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 --- source/duke3d/src/player.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/duke3d/src/player.cpp b/source/duke3d/src/player.cpp index 5e9a99b19..38a274334 100644 --- a/source/duke3d/src/player.cpp +++ b/source/duke3d/src/player.cpp @@ -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)