From ddbeb98677f81fd42b14025111b6ffc903d5de13 Mon Sep 17 00:00:00 2001 From: AJ Martinez Date: Sat, 8 Apr 2023 05:31:30 -0700 Subject: [PATCH] Make doubly sure not to keepsliptide with no sliptide --- src/k_kart.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/k_kart.c b/src/k_kart.c index e901ae634..4084d09a8 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -9317,7 +9317,7 @@ static void K_KartDrift(player_t *player, boolean onground) || (!player->aizdriftstrat) || (player->steering > 0) != (player->aizdriftstrat > 0)) { - if (!player->drift && player->steering && player->aizdriftstrat // If we were sliptiding last tic, + if (!player->drift && player->steering && player->aizdriftstrat && player->sliptideZip // If we were sliptiding last tic, && (player->steering > 0) == (player->aizdriftstrat > 0) // we're steering in the right direction, && player->speed >= K_GetKartSpeed(player, false, true)) // and we're above the threshold to spawn dust... {