From b630b2a3121efe9bf38c97358de73bb24e4dc541 Mon Sep 17 00:00:00 2001 From: AJ Martinez <aj@worldsbe.st> Date: Thu, 16 May 2024 19:14:55 -0700 Subject: [PATCH] Don't cancel whip charge while brakedrifting --- 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 19989c7317..3fb3031a48 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -12528,7 +12528,7 @@ void K_MoveKartPlayer(player_t *player, boolean onground) player->instaWhipCharge = 0; } - if (chargingwhip && K_PressingEBrake(player)) + if (chargingwhip && (K_PressingEBrake(player) && player->drift == 0)) { // 1) E-braking on the ground: cancels Insta-Whip. // Still lets you keep your Whip while fast-falling. -- GitLab