diff --git a/src/k_kart.c b/src/k_kart.c index ac86db0a..538d3f33 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -5062,6 +5062,9 @@ INT32 K_GetKartDriftSparkValue(player_t *player) static void K_KartDrift(player_t *player, boolean onground) { fixed_t minspeed = (10 * player->mo->scale); + INT32 dsone = K_GetKartDriftSparkValue(player); + INT32 dstwo = dsone*2; + INT32 dsthree = dstwo*2; // 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. @@ -5069,10 +5072,6 @@ static void K_KartDrift(player_t *player, boolean onground) if (player->kartstuff[k_pogospring] == 2 && player->mo->scale > mapobjectscale) minspeed = FixedMul(10<