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 e7f59bc..aca4b97 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);