From 7b9c511da12ae85661563a1c8b803360447ba377 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 27 Jul 2016 07:25:34 +1000 Subject: [PATCH] Make it match, for TimePath --- qcsrc/server/bot/havocbot/havocbot.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2