mirror of
https://github.com/DrBeef/Raze.git
synced 2024-11-14 00:21:30 +00:00
- Duke: Move Quick_Kick
button test into ApplyGlobalInput()
as it doesn't seem to share a bit with any other game anymore.
This commit is contained in:
parent
b1888a44c3
commit
5a6495956f
2 changed files with 3 additions and 3 deletions
|
@ -449,5 +449,8 @@ void ApplyGlobalInput(InputPacket& input, HIDInput* const hidInput)
|
|||
if (buttonMap.ButtonDown(gamefunc_Look_Right))
|
||||
input.actions |= SB_LOOK_RIGHT;
|
||||
|
||||
if (buttonMap.ButtonDown(gamefunc_Quick_Kick))
|
||||
input.actions |= SB_QUICK_KICK;
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -547,9 +547,6 @@ static void processInputBits(player_struct *p, HIDInput* const hidInput)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (buttonMap.ButtonDown(gamefunc_Quick_Kick)) // this shares a bit with another function so cannot be in the common code.
|
||||
loc.actions |= SB_QUICK_KICK;
|
||||
|
||||
if ((isRR() && p->drink_amt > 88)) loc.actions |= SB_LOOK_LEFT;
|
||||
if ((isRR() && p->drink_amt > 99)) loc.actions |= SB_LOOK_DOWN;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue