mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-02-24 06:21:18 +00:00
Don't failsafe when twerking
This commit is contained in:
parent
6e6c0cd71f
commit
1667ca591e
1 changed files with 3 additions and 1 deletions
|
|
@ -10786,7 +10786,9 @@ static void K_AirFailsafe(player_t *player)
|
|||
if (leveltime < introtime)
|
||||
return;
|
||||
|
||||
if ((K_GetKartButtons(player) & BT_ACCELERATE) || K_GetForwardMove(player) != 0)
|
||||
UINT8 buttons = K_GetKartButtons(player);
|
||||
|
||||
if (((buttons & BT_ACCELERATE) && !(buttons & BT_BRAKE)) || K_GetForwardMove(player) != 0)
|
||||
{
|
||||
// Queue up later
|
||||
player->pflags |= PF_AIRFAILSAFE;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue