X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=qcsrc%2Fserver%2Fbot%2Fdefault%2Fnavigation.qc;h=d63e158781ea6e2c6bdf83214484a5fc32aa3609;hb=8f381c9ba44ba9902f385949f99b4a106cb512c8;hp=9dc1e47aa37e326a626501b9e90d24fb51c63e49;hpb=5d929ee0b1dc587e3154a4fa4b56e83b9ba9100b;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/server/bot/default/navigation.qc b/qcsrc/server/bot/default/navigation.qc index 9dc1e47aa..d63e15878 100644 --- a/qcsrc/server/bot/default/navigation.qc +++ b/qcsrc/server/bot/default/navigation.qc @@ -1819,7 +1819,7 @@ void navigation_goalrating_end(entity this) this.goalstack31 = NULL; navigation_routetogoal(this, navigation_bestgoal, this.origin); - LOG_DEBUG("best goal ", this.goalcurrent.classname); + LOG_DEBUG("best goal ", navigation_bestgoal.classname); if (wp && this.goalcurrent == wp) navigation_poproute(this); @@ -1903,7 +1903,7 @@ void navigation_unstuck(entity this) { // evaluate the next goal on the queue float d = vlen2(this.origin - bot_waypoint_queue_goal.origin); - LOG_DEBUG(this.netname, " evaluating ", bot_waypoint_queue_goal.classname, " with distance ", ftos(d)); + LOG_DEBUG(this.netname, " evaluating ", bot_waypoint_queue_goal.classname, " with squared distance ", ftos(d)); set_tracewalk_dest(bot_waypoint_queue_goal, this.origin, false); if (tracewalk(this, this.origin, STAT(PL_MIN, this), STAT(PL_MAX, this), tracewalk_dest, tracewalk_dest_height, bot_navigation_movemode))