mirror of
https://github.com/ineedbots/iw4_bot_warfare.git
synced 2025-03-14 23:16:57 +00:00
prevent bots aimbotting other targets when knifing
This commit is contained in:
parent
17bceafb23
commit
bd0f834eb9
@ -1718,7 +1718,7 @@ aim_loop()
|
||||
|
||||
conedot = getConeDot( aimpos, eyePos, angles );
|
||||
|
||||
if ( isdefined( self.bot.knifing_target ) )
|
||||
if ( isdefined( self.bot.knifing_target ) && self.bot.knifing_target == target )
|
||||
{
|
||||
self thread bot_lookat( target gettagorigin( "j_spine4" ), 0.05 );
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user