mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-23 06:55:44 +00:00
small fix
This commit is contained in:
parent
0af3e4ca90
commit
6737000c72
@ -1310,7 +1310,10 @@ aim_loop()
|
|||||||
|
|
||||||
conedot = getConeDot( aimpos, eyePos, angles );
|
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" ) )
|
if ( isActor && !self.bot.isknifingafter && conedot > 0.9 && dist < level.bots_maxKnifeDistance && trace_time > reaction_time && !self.bot.isreloading && getDvarInt( "bots_play_knife" ) )
|
||||||
|
Loading…
x
Reference in New Issue
Block a user