]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Scan for waypoints only if the strategy frame is owned by the bot being stuck
authormand1nga <mand1nga@xonotic.org>
Fri, 22 Apr 2011 00:01:27 +0000 (21:01 -0300)
committermand1nga <mand1nga@xonotic.org>
Fri, 22 Apr 2011 00:01:27 +0000 (21:01 -0300)
qcsrc/server/bot/navigation.qc

index 1a94127a12da1e7f05e258733f374b9d26e9c5a5..c5e2180cae0ee1aec41800883aa5e8d3a11b6b16 100644 (file)
@@ -1010,6 +1010,9 @@ void navigation_unstuck()
        }
        else
        {
+               if(bot_strategytoken!=self)
+                       return;
+
                // build a new queue
                dprint(self.netname, " building a new wayoints queue\n");