]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/bot/bot.qc
Add an intrusive list for bot waypoints
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / bot / bot.qc
index 8eb0b7f1aaed3704b0f7bb5d186bcb5f86281e1b..df0f36ab1a3d4a4b42e7381cd71a03af260563db 100644 (file)
@@ -670,7 +670,7 @@ void bot_serverframe()
                else
                {
                        // TODO: Make this check cleaner
-                       FOREACH_ENTITY_CLASS("waypoint", time - it.nextthink > 10,
+                       IL_EACH(g_waypoints, time - it.nextthink > 10,
                        {
                                waypoint_save_links();
                                break;