mirror of
https://github.com/JezuzLizard/t4sp_bot_warfare.git
synced 2025-04-19 21:22:54 +00:00
nvm
This commit is contained in:
parent
2bd494c8d7
commit
aae462fb95
@ -1311,12 +1311,9 @@ aim_loop()
|
||||
|
||||
if ( isActor && !self.bot.isknifingafter && conedot > 0.9 && dist < level.bots_maxKnifeDistance && trace_time > reaction_time && getDvarInt( "bots_play_knife" ) )
|
||||
{
|
||||
if ( self canFire( curweap ) || !self getAmmoCount( curweap ) )
|
||||
{
|
||||
self clear_bot_after_target();
|
||||
self thread knife();
|
||||
return;
|
||||
}
|
||||
self clear_bot_after_target();
|
||||
self thread knife();
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !self canFire( curweap ) || !self isInRange( dist, curweap ) )
|
||||
|
Loading…
x
Reference in New Issue
Block a user