From: terencehill Date: Sat, 18 Feb 2017 23:22:53 +0000 (+0100) Subject: Respect box waypoint size X-Git-Tag: xonotic-v0.8.2~197 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=6d45bd86b0ea706121884ddd22a848fb3ac5557f;p=xonotic%2Fxonotic-data.pk3dir.git Respect box waypoint size --- diff --git a/qcsrc/server/bot/default/navigation.qc b/qcsrc/server/bot/default/navigation.qc index 2cfc6d33a..61c628542 100644 --- a/qcsrc/server/bot/default/navigation.qc +++ b/qcsrc/server/bot/default/navigation.qc @@ -989,7 +989,7 @@ void navigation_poptouchedgoals(entity this) { vector gc_min = this.goalcurrent.absmin; vector gc_max = this.goalcurrent.absmax; - if(this.goalcurrent.classname == "waypoint") + if(this.goalcurrent.classname == "waypoint" && !this.goalcurrent.wpisbox) { gc_min = this.goalcurrent.origin - '1 1 1' * 12; gc_max = this.goalcurrent.origin + '1 1 1' * 12;