From: mand1nga Date: Fri, 22 Apr 2011 00:01:27 +0000 (-0300) Subject: Scan for waypoints only if the strategy frame is owned by the bot being stuck X-Git-Tag: xonotic-v0.5.0~264^2~28^2~1^2~3 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=51d37a2153cd134cc1cc123b5ec4d0294e6eed77;p=xonotic%2Fxonotic-data.pk3dir.git Scan for waypoints only if the strategy frame is owned by the bot being stuck --- diff --git a/qcsrc/server/bot/navigation.qc b/qcsrc/server/bot/navigation.qc index 1a94127a1..c5e2180ca 100644 --- a/qcsrc/server/bot/navigation.qc +++ b/qcsrc/server/bot/navigation.qc @@ -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");