From d97a0ce2b4e30cdb92714048d61c9427ae1bb695 Mon Sep 17 00:00:00 2001 From: Latapostrophe Date: Sat, 25 May 2019 14:13:35 +0200 Subject: [PATCH] Move the friction change out of the offroad check --- src/k_kart.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/k_kart.c b/src/k_kart.c index d96e092ba..e17d45dfb 100644 --- a/src/k_kart.c +++ b/src/k_kart.c @@ -5778,10 +5778,11 @@ void K_MoveKartPlayer(player_t *player, boolean onground) { if (player->speed > 0 && cmd->forwardmove == 0 && player->mo->friction == 59392) player->mo->friction += 4608; - if (player->speed > 0 && cmd->forwardmove < 0) // change friction while braking no matter what, otherwise it's not any more effective than just letting go off accel - player->mo->friction -= 2048; } + if (player->speed > 0 && cmd->forwardmove < 0) // change friction while braking no matter what, otherwise it's not any more effective than just letting go off accel + player->mo->friction -= 2048; + // Karma ice physics if (G_BattleGametype() && player->kartstuff[k_bumper] <= 0) {