Merge branch 'no-intro-failsafe' into 'master'

No air failsafe during intro (resolves #508)

Closes #508

See merge request KartKrew/Kart!1490
This commit is contained in:
Oni 2023-09-12 04:34:13 +00:00
commit a6fb8f999d

View file

@ -10593,6 +10593,10 @@ static void K_AirFailsafe(player_t *player)
return;
}
// Maps with "drop-in" POSITION areas (Dragonspire, Hydrocity) cause problems if we allow failsafe.
if (leveltime < introtime)
return;
if ((K_GetKartButtons(player) & BT_ACCELERATE) || K_GetForwardMove(player) != 0)
{
// Queue up later