mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-16 12:40:38 +00:00
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:
parent
02d436f802
commit
f302ccb715
1 changed files with 2 additions and 2 deletions
|
@ -159,13 +159,13 @@ void ctrlGetInput(void)
|
||||||
cl_crosshair = !cl_crosshair;
|
cl_crosshair = !cl_crosshair;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buttonMap.ButtonDown(gamefunc_Next_Weapon))
|
if (buttonMap.ButtonPressed(gamefunc_Next_Weapon))
|
||||||
{
|
{
|
||||||
buttonMap.ClearButton(gamefunc_Next_Weapon);
|
buttonMap.ClearButton(gamefunc_Next_Weapon);
|
||||||
gInput.keyFlags.nextWeapon = 1;
|
gInput.keyFlags.nextWeapon = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (buttonMap.ButtonDown(gamefunc_Previous_Weapon))
|
if (buttonMap.ButtonPressed(gamefunc_Previous_Weapon))
|
||||||
{
|
{
|
||||||
buttonMap.ClearButton(gamefunc_Previous_Weapon);
|
buttonMap.ClearButton(gamefunc_Previous_Weapon);
|
||||||
gInput.keyFlags.prevWeapon = 1;
|
gInput.keyFlags.prevWeapon = 1;
|
||||||
|
|
Loading…
Reference in a new issue