From: Mario Date: Tue, 26 Jul 2016 21:25:34 +0000 (+1000) Subject: Make it match, for TimePath X-Git-Tag: xonotic-v0.8.2~700^2~24 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7b9c511da12ae85661563a1c8b803360447ba377;p=xonotic%2Fxonotic-data.pk3dir.git Make it match, for TimePath --- diff --git a/qcsrc/server/bot/havocbot/havocbot.qc b/qcsrc/server/bot/havocbot/havocbot.qc index f1b1f65f9..e7f59bc8e 100644 --- a/qcsrc/server/bot/havocbot/havocbot.qc +++ b/qcsrc/server/bot/havocbot/havocbot.qc @@ -46,7 +46,7 @@ void havocbot_ai(entity this) { // Look for the closest waypoint out of water entity newgoal = NULL; - FOREACH_ENTITY_CLASS("waypoint", vdist(it.origin - this.origin, <, 10000), + FOREACH_ENTITY_CLASS("waypoint", vdist(it.origin - this.origin, <=, 10000), { if(it.origin.z < this.origin.z) continue;