Change Next/Previous Weapon button handling for Blood.

- Makes consistent with Duke 3D and RR.
- Makes weapon selection work in Windows until refactoring can occur.
This commit is contained in:
Mitchell Richters 2020-03-24 07:08:09 +11:00 committed by Christoph Oelckers
parent 02d436f802
commit f302ccb715

View file

@ -159,13 +159,13 @@ void ctrlGetInput(void)
cl_crosshair = !cl_crosshair;
}
if (buttonMap.ButtonDown(gamefunc_Next_Weapon))
if (buttonMap.ButtonPressed(gamefunc_Next_Weapon))
{
buttonMap.ClearButton(gamefunc_Next_Weapon);
gInput.keyFlags.nextWeapon = 1;
}
if (buttonMap.ButtonDown(gamefunc_Previous_Weapon))
if (buttonMap.ButtonPressed(gamefunc_Previous_Weapon))
{
buttonMap.ClearButton(gamefunc_Previous_Weapon);
gInput.keyFlags.prevWeapon = 1;