From 814cd9609edad4bea49f8b82d6491bd281cd7a77 Mon Sep 17 00:00:00 2001 From: ineed bots Date: Sun, 10 Dec 2023 05:21:39 -0600 Subject: [PATCH] small fix --- maps/mp/bots/_bot_internal.gsc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/maps/mp/bots/_bot_internal.gsc b/maps/mp/bots/_bot_internal.gsc index 6a95f09..e6592a0 100644 --- a/maps/mp/bots/_bot_internal.gsc +++ b/maps/mp/bots/_bot_internal.gsc @@ -1669,7 +1669,7 @@ aim_loop() conedot = getConeDot( aimpos, eyePos, angles ); - if ( conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 ) + if ( !nadeAimOffset && conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 ) self thread bot_lookat( aimpos, 0.05 ); else self thread bot_lookat( aimpos, aimspeed, target getVelocity(), true ); @@ -1683,7 +1683,7 @@ aim_loop() conedot = getConeDot( aimpos, eyePos, angles ); - if ( conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 ) + if ( !nadeAimOffset && conedot > 0.999 && lengthsquared( aimoffset ) < 0.05 ) self thread bot_lookat( aimpos, 0.05 ); else self thread bot_lookat( aimpos, aimspeed );