From a432c7da7399ffd98a86d5355dc594613b180ad6 Mon Sep 17 00:00:00 2001 From: terencehill Date: Tue, 28 Mar 2017 00:10:52 +0200 Subject: [PATCH] Fix some small issues --- qcsrc/server/bot/default/waypoints.qc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/qcsrc/server/bot/default/waypoints.qc b/qcsrc/server/bot/default/waypoints.qc index b10709c9e..ef89e4dbd 100644 --- a/qcsrc/server/bot/default/waypoints.qc +++ b/qcsrc/server/bot/default/waypoints.qc @@ -188,7 +188,7 @@ void waypoint_think(entity this) //dprint("waypoint_think wpisbox = ", ftos(this.wpisbox), "\n"); sm1 = this.origin + this.mins; sm2 = this.origin + this.maxs; - IL_EACH(g_waypoints, true, + IL_EACH(g_waypoints, this != it, { if (boxesoverlap(this.absmin, this.absmax, it.absmin, it.absmax)) { @@ -384,7 +384,7 @@ float waypoint_load_links() if(!found) { - LOG_TRACE("waypoint_load_links: couldn't find 'from' waypoint at ", vtos(wp_from.origin)); + LOG_TRACE("waypoint_load_links: couldn't find 'from' waypoint at ", vtos(wp_from_pos)); continue; } @@ -406,7 +406,7 @@ float waypoint_load_links() if(!found) { - LOG_TRACE("waypoint_load_links: couldn't find 'to' waypoint at ", vtos(wp_to.origin)); + LOG_TRACE("waypoint_load_links: couldn't find 'to' waypoint at ", vtos(wp_to_pos)); continue; } -- 2.39.2