From: mand1nga Date: Fri, 22 Apr 2011 01:07:06 +0000 (-0300) Subject: Prevent a bot for monopolizing the waypoint queue X-Git-Tag: xonotic-v0.5.0~264^2~28^2 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=308f4cb8405df6140e72fb7155419bf4c87fe5b1;p=xonotic%2Fxonotic-data.pk3dir.git Prevent a bot for monopolizing the waypoint queue --- diff --git a/qcsrc/server/bot/navigation.qc b/qcsrc/server/bot/navigation.qc index 01bb87011..03a549439 100644 --- a/qcsrc/server/bot/navigation.qc +++ b/qcsrc/server/bot/navigation.qc @@ -1046,6 +1046,7 @@ void navigation_unstuck() else { dprint(self.netname, " stuck, cannot walk to any waypoint at all\n"); + bot_waypoint_queue_owner = world; } } }