From 0eb5c29448e5751d592a0295d9818fb7edda1077 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 1 Apr 2022 17:33:41 -0400 Subject: [PATCH] Don't do for tire grease again, but for the opposite reason. --- src/k_bot.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/k_bot.c b/src/k_bot.c index 37d5c825b..9c633f422 100644 --- a/src/k_bot.c +++ b/src/k_bot.c @@ -654,6 +654,12 @@ fixed_t K_BotFrictionRubberband(player_t *player, fixed_t frict) return frict; } + if (player->tiregrease > 0) + { + // Bots will lose all of their momentum without this. + return frict; + } + newFrict = frict - FixedMul(value, rubberband); if (newFrict < 0)