about summary refs log tree commit diff stats
path: root/src/tracker_state.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-09-28 13:48:57 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-09-28 13:48:57 -0400
commit18eccff16c3cd97ee02685d753ffefbaa7bbbb4c (patch)
tree5c1abfc991415a8f2a58f18cd70e6793cebd600e /src/tracker_state.cpp
parentd3654cb4846f186486ebf7ac205a2d677a930440 (diff)
downloadlingo-ap-tracker-18eccff16c3cd97ee02685d753ffefbaa7bbbb4c.tar.gz
lingo-ap-tracker-18eccff16c3cd97ee02685d753ffefbaa7bbbb4c.tar.bz2
lingo-ap-tracker-18eccff16c3cd97ee02685d753ffefbaa7bbbb4c.zip
Added early color hallways support v0.5.3
Diffstat (limited to 'src/tracker_state.cpp')
-rw-r--r--src/tracker_state.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index 0976461..002f447 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp
@@ -148,6 +148,11 @@ void RecalculateReachability() {
148 std::list<Exit> flood_boundary; 148 std::list<Exit> flood_boundary;
149 flood_boundary.push_back({.destination_room = GD_GetRoomByName("Menu")}); 149 flood_boundary.push_back({.destination_room = GD_GetRoomByName("Menu")});
150 150
151 if (AP_HasEarlyColorHallways()) {
152 flood_boundary.push_back(
153 {.destination_room = GD_GetRoomByName("Outside The Undeterred")});
154 }
155
151 bool reachable_changed = true; 156 bool reachable_changed = true;
152 while (reachable_changed) { 157 while (reachable_changed) {
153 reachable_changed = false; 158 reachable_changed = false;