void navigation_unstuck()
{
+ if not(autocvar_bot_wander_enable)
+ return;
+
if not(navigation_wander_owner)
{
dprint(self.netname, " taking over the waypoints queue\n");
{
// evaluate the next goal on the queue
float d = vlen(self.origin - navigation_wander_goal.origin);
- dprint(self.netname, " evaluating ", navigation_wander_goal.classname, " with distance ", ftos(d), "\n");
+ // dprint(self.netname, " evaluating ", navigation_wander_goal.classname, " with distance ", ftos(d), "\n");
if(tracewalk(navigation_wander_goal, self.origin, PL_MIN, PL_MAX, navigation_wander_goal.origin, bot_navigation_movemode))
{
if( d > navigation_wander_bestgoalrating)