From 6737000c725322490a6562b61a420b194deb9ab8 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sun, 10 Dec 2023 05:20:34 -0600 Subject: [PATCH] small fix --- maps/bots/_bot_internal.gsc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/maps/bots/_bot_internal.gsc b/maps/bots/_bot_internal.gsc index 6d43d71..8a5eb4a 100644 --- a/maps/bots/_bot_internal.gsc +++ b/maps/bots/_bot_internal.gsc @@ -1310,7 +1310,10 @@ aim_loop() conedot = getConeDot( aimpos, eyePos, angles ); - self thread bot_lookat( aimpos, aimspeed ); + if ( !nadeAimOffset && conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 ) + self thread bot_lookat( aimpos, 0.05 ); + else + self thread bot_lookat( aimpos, aimspeed ); } if ( isActor && !self.bot.isknifingafter && conedot > 0.9 && dist < level.bots_maxKnifeDistance && trace_time > reaction_time && !self.bot.isreloading && getDvarInt( "bots_play_knife" ) )