From 07d5691b73673635a9e77f25d6c141f89420c99f Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 10 Dec 2021 16:23:41 -0500 Subject: [PATCH] Make them commit harder to turning - Removed the "minor adjustment" threshold, since that was done before global easing - Removed the "accel + brake to slowdown and reorient yourself if you're facing too far away from the track" bit, because 1.) it was done before accel + brake was turned into EBrake (so it now often makes them come to a STOP instead of simply slowing down) and 2.) turning harshly will slow them down anyway, so maybe isn't necessary --- src/k_bot.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/src/k_bot.c b/src/k_bot.c index 435eb1c6b..9c5dff35b 100644 --- a/src/k_bot.c +++ b/src/k_bot.c @@ -1120,18 +1120,6 @@ void K_BuildBotTiccmd(player_t *player, ticcmd_t *cmd) // Don't turn at all turnamt = 0; } - else - { - // Make minor adjustments - turnamt /= 4; - } - } - - if (anglediff > 60) - { - // Actually, don't go too fast... - cmd->forwardmove /= 2; - cmd->buttons |= BT_BRAKE; } } }