From: Mario Date: Tue, 26 Jul 2016 21:25:57 +0000 (+1000) Subject: Make it match again for TimePath X-Git-Tag: xonotic-v0.8.2~700^2~23 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=60c176ed0180b05043cec65d408a4b4b9db7a797;p=xonotic%2Fxonotic-data.pk3dir.git Make it match again for TimePath --- diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index e7f59bc8e..aca4b9756 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -486,7 +486,7 @@ void havocbot_movetogoal(entity this) if(fabs(this.velocity.z)<50) { entity newgoal = NULL; - FOREACH_ENTITY_CLASS("waypoint", vdist(it.origin - this.origin, <, 1000), + FOREACH_ENTITY_CLASS("waypoint", vdist(it.origin - this.origin, <=, 1000), { traceline(this.origin + this.view_ofs, ((it.absmin + it.absmax) * 0.5), true, this);