mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-14 08:30:58 +00:00
Change Next/Previous Weapon button handling for Shadow Warrior.
- Makes consistent with Duke 3D, RR and Blood.
This commit is contained in:
parent
d80a32d379
commit
91cc97ced0
1 changed files with 2 additions and 2 deletions
|
@ -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];
|
USERp u = User[pp->PlayerSprite];
|
||||||
short next_weapon = u->WeaponNum + 1;
|
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];
|
USERp u = User[pp->PlayerSprite];
|
||||||
short prev_weapon = u->WeaponNum - 1;
|
short prev_weapon = u->WeaponNum - 1;
|
||||||
|
|
Loading…
Reference in a new issue