]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 f1b1f65f92f26cc2ce77d7867ddff6b3ff396596..e7f59bc8ec26f967848d193acb1ae55498b1e8ff 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;