small fix

This commit is contained in:
ineed bots 2023-12-10 05:21:39 -06:00
parent f0db932a5a
commit 814cd9609e

View File

@ -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 );