From 4d8d5d7fa9d9b58e859fd40b15ec2c21791d84b8 Mon Sep 17 00:00:00 2001 From: JugadorXEI Date: Sun, 30 May 2021 18:28:27 +0200 Subject: [PATCH] More robust check against yellow springs on grown players. --- src/k_kart.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index 2cb8a7a1..a47c3b52 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -5065,8 +5065,8 @@ static void K_KartDrift(player_t *player, boolean onground) // Grown players taking yellow spring panels will go below minspeed for one tic, // and will then wrongdrift or have their sparks removed because of this. // This fixes this problem. - if (player->kartstuff[k_pogospring] == 2 && player->mo->scale > FRACUNIT) - minspeed = (10<kartstuff[k_pogospring] == 2 && player->mo->scale > mapobjectscale) + minspeed = FixedMul(10<