- 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:
Mitchell Richters 2023-03-18 13:26:15 +11:00
parent b1888a44c3
commit 5a6495956f
2 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;
}