Make it match, for TimePath
authorMario <mario@smbclan.net>
Tue, 26 Jul 2016 21:25:34 +0000 (07:25 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Jul 2016 21:25:34 +0000 (07:25 +1000)
qcsrc/server/bot/havocbot/havocbot.qc

index f1b1f65..e7f59bc 100644 (file)
@@ -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;