Disallow failsafe when doing super transfer

This commit is contained in:
Antonio Martinez 2025-07-02 21:07:33 -04:00
parent 7378cf2cd6
commit 4ee8ec15d3

View file

@ -13476,7 +13476,7 @@ static void K_AirFailsafe(player_t *player)
// Accel inputs queue air-failsafe for when they're released,
// 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;
return;