]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Oops, clear useless flags at the end for consistency.
authorRudolf Polzer <divverent@xonotic.org>
Sat, 10 Jan 2015 17:00:36 +0000 (09:00 -0800)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 10 Jan 2015 17:00:36 +0000 (09:00 -0800)
qcsrc/server/bot/waypoints.qc

index 79c441586932559e295cb7a37b6505b3f820dfe1..870a558c579d3b270f8f160376fbcecb084d7db6 100644 (file)
@@ -1136,7 +1136,7 @@ void botframe_deleteuselesswaypoints()
                }
        }
        for (w = world; (w = find(w, classname, "waypoint")); )
-               w.wpflags &= ~WAYPOINTFLAG_USEFUL; // temp flag
+               w.wpflags &= ~(WAYPOINTFLAG_USEFUL | WAYPOINTFLAG_DEAD_END); // temp flag
 }
 
 void botframe_autowaypoints()