From 91cc97ced0d7205b33e214115590c8189148588d Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Tue, 24 Mar 2020 07:11:48 +1100 Subject: [PATCH] Change Next/Previous Weapon button handling for Shadow Warrior. - Makes consistent with Duke 3D, RR and Blood. --- source/sw/src/game.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/sw/src/game.cpp b/source/sw/src/game.cpp index 2c15a42bc..ded2a330c 100644 --- a/source/sw/src/game.cpp +++ b/source/sw/src/game.cpp @@ -3190,7 +3190,7 @@ getinput(SW_PACKET *loc, SWBOOL tied) } } - if (buttonMap.ButtonDown(gamefunc_Next_Weapon)) + if (buttonMap.ButtonPressed(gamefunc_Next_Weapon)) { USERp u = User[pp->PlayerSprite]; short next_weapon = u->WeaponNum + 1; @@ -3230,7 +3230,7 @@ getinput(SW_PACKET *loc, SWBOOL tied) } - if (buttonMap.ButtonDown(gamefunc_Previous_Weapon)) + if (buttonMap.ButtonPressed(gamefunc_Previous_Weapon)) { USERp u = User[pp->PlayerSprite]; short prev_weapon = u->WeaponNum - 1;