if(targ.team==0)
return false;
}
- else if(bot_ignore_bots)
- if(IS_BOT_CLIENT(targ))
- return false;
+ else if (autocvar_bot_ignore_bots && IS_BOT_CLIENT(targ))
+ return false;
if (!targ.takedamage)
return false;
botframe_nextthink = time + 10;
}
- bot_ignore_bots = autocvar_bot_ignore_bots;
-
if(botframe_spawnedwaypoints)
{
if(autocvar_waypoint_benchmark)
float botframe_nextthink;
float botframe_nextdangertime;
float bot_cvar_nextthink;
-float bot_ignore_bots; // let bots not attack other bots (only works in non-teamplay)
int _content_type;
#define IN_LAVA(pos) (_content_type = pointcontents(pos), (_content_type == CONTENT_LAVA || _content_type == CONTENT_SLIME))