]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make it match again for TimePath
authorMario <mario@smbclan.net>
Tue, 26 Jul 2016 21:25:57 +0000 (07:25 +1000)
committerMario <mario@smbclan.net>
Tue, 26 Jul 2016 21:25:57 +0000 (07:25 +1000)
qcsrc/server/bot/havocbot/havocbot.qc

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