]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Prevent a bot for monopolizing the waypoint queue
authormand1nga <mand1nga@xonotic.org>
Fri, 22 Apr 2011 01:07:06 +0000 (22:07 -0300)
committermand1nga <mand1nga@xonotic.org>
Fri, 22 Apr 2011 01:07:06 +0000 (22:07 -0300)
qcsrc/server/bot/navigation.qc

index 01bb87011da03b5433f5f5e9ad00e3135fc98d93..03a549439068b15d2d484f20e918af379686105f 100644 (file)
@@ -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;
                }
        }
 }