mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 08:51:24 +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
f302ccb715
commit
f6b8ca6a22
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue