From 5b2bf450c09544053b5a1f00a082eed08a3d5cf9 Mon Sep 17 00:00:00 2001 From: NepDisk Date: Tue, 4 Mar 2025 07:53:40 -0500 Subject: [PATCH] Adjust Airfailsafe conditions --- src/k_kart.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index 4c3982349..5785acaa3 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -8879,11 +8879,13 @@ SINT8 K_Sliptiding(player_t *player) static void K_AirFailsafe(player_t *player) { - const fixed_t maxSpeed = 6*player->mo->scale; + const fixed_t maxSpeed = 1*player->mo->scale; const fixed_t thrustSpeed = 6*player->mo->scale; // 10*player->mo->scale if (player->speed > maxSpeed // Above the max speed that you're allowed to use this technique. - || player->respawn) // Respawning, you don't need this AND drop dash :V + || player->respawn // Respawning, you don't need this AND drop dash :V + || player->carry // Don't do in automated sections. + || P_PlayerInPain(player)) // Don't assist people hit by mines. { player->pflags &= ~PF_AIRFAILSAFE; return;