]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Made bots walk to any reachable waypoint in case they got stuck
authormand1nga <mand1nga@xonotic.org>
Sat, 6 Aug 2011 23:01:55 +0000 (20:01 -0300)
committermand1nga <mand1nga@xonotic.org>
Sat, 6 Aug 2011 23:01:55 +0000 (20:01 -0300)
qcsrc/server/bot/navigation.qc

index 03a549439068b15d2d484f20e918af379686105f..258d3d1770fe1c023991106bd15bb7bd063be40e 100644 (file)
@@ -1027,7 +1027,7 @@ void navigation_unstuck()
                while(head)
                {
                        if(head.classname=="waypoint")
                while(head)
                {
                        if(head.classname=="waypoint")
-                       if(!(head.wpflags & WAYPOINTFLAG_GENERATED))
+               //      if(!(head.wpflags & WAYPOINTFLAG_GENERATED))
                        {
                                if(bot_waypoint_queue_goal)
                                        bot_waypoint_queue_goal.bot_waypoint_queue_nextgoal = head;
                        {
                                if(bot_waypoint_queue_goal)
                                        bot_waypoint_queue_goal.bot_waypoint_queue_nextgoal = head;