mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-26 12:01:47 +00:00
Disallow failsafe when doing super transfer
This commit is contained in:
parent
7378cf2cd6
commit
4ee8ec15d3
1 changed files with 1 additions and 1 deletions
|
|
@ -13476,7 +13476,7 @@ static void K_AirFailsafe(player_t *player)
|
||||||
|
|
||||||
// Accel inputs queue air-failsafe for when they're released,
|
// Accel inputs queue air-failsafe for when they're released,
|
||||||
// as long as they're not part of a fastfall attempt.
|
// as long as they're not part of a fastfall attempt.
|
||||||
if ((buttons & (BT_ACCELERATE|BT_BRAKE)) == BT_ACCELERATE || K_GetForwardMove(player) != 0)
|
if ((buttons & (BT_ACCELERATE|BT_BRAKE)) == BT_ACCELERATE || K_GetForwardMove(player) != 0 || (player->fastfall && player->transfer))
|
||||||
{
|
{
|
||||||
player->pflags |= PF_AIRFAILSAFE;
|
player->pflags |= PF_AIRFAILSAFE;
|
||||||
return;
|
return;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue