about summary refs log tree commit diff stats
path: root/src/tracker_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_panel.cpp')
-rw-r--r--src/tracker_panel.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp index 0385f89..f0810c9 100644 --- a/src/tracker_panel.cpp +++ b/src/tracker_panel.cpp
@@ -172,9 +172,10 @@ void TrackerPanel::Redraw() {
172 } 172 }
173 173
174 if (AP_IsPaintingShuffle()) { 174 if (AP_IsPaintingShuffle()) {
175 for (const PaintingExit &painting : map_area.paintings) { 175 for (int painting_id : map_area.paintings) {
176 if (!AP_IsPaintingChecked(painting.id)) { 176 const PaintingExit &painting = GD_GetPaintingExit(painting_id);
177 bool reachable = painting.door ? IsDoorOpen(*painting.door) : true; 177 if (!AP_IsPaintingChecked(painting.internal_id)) {
178 bool reachable = IsPaintingReachable(painting_id);
178 179
179 if (reachable) { 180 if (reachable) {
180 has_reachable_unchecked = true; 181 has_reachable_unchecked = true;