Change Next/Previous Weapon button handling for Shadow Warrior.

- Makes consistent with Duke 3D, RR and Blood.
This commit is contained in:
Mitchell Richters 2020-03-24 07:11:48 +11:00 committed by Christoph Oelckers
parent f302ccb715
commit f6b8ca6a22

View file

@ -3543,7 +3543,7 @@ void getinput(int const playerNum)
}
}
if (buttonMap.ButtonDown(gamefunc_Next_Weapon))
if (buttonMap.ButtonPressed(gamefunc_Next_Weapon))
{
USERp u = User[pp->PlayerSprite];
short next_weapon = u->WeaponNum + 1;
@ -3583,7 +3583,7 @@ void getinput(int const playerNum)
}
if (buttonMap.ButtonDown(gamefunc_Previous_Weapon))
if (buttonMap.ButtonPressed(gamefunc_Previous_Weapon))
{
USERp u = User[pp->PlayerSprite];
short prev_weapon = u->WeaponNum - 1;