diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-09-28 13:48:57 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-09-28 13:48:57 -0400 |
| commit | 18eccff16c3cd97ee02685d753ffefbaa7bbbb4c (patch) | |
| tree | 5c1abfc991415a8f2a58f18cd70e6793cebd600e /src/tracker_state.cpp | |
| parent | d3654cb4846f186486ebf7ac205a2d677a930440 (diff) | |
| download | lingo-ap-tracker-0.5.3.tar.gz lingo-ap-tracker-0.5.3.tar.bz2 lingo-ap-tracker-0.5.3.zip | |
Added early color hallways support v0.5.3
Diffstat (limited to 'src/tracker_state.cpp')
| -rw-r--r-- | src/tracker_state.cpp | 5 |
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; |
