From: terencehill Date: Mon, 27 Mar 2017 22:10:52 +0000 (+0200) Subject: Fix some small issues X-Git-Tag: xonotic-v0.8.2~18 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=a432c7da7399ffd98a86d5355dc594613b180ad6;p=xonotic%2Fxonotic-data.pk3dir.git Fix some small issues --- 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; }