diff options
Diffstat (limited to 'src/tracker_panel.cpp')
-rw-r--r-- | src/tracker_panel.cpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp index 66bce81..0385f89 100644 --- a/src/tracker_panel.cpp +++ b/src/tracker_panel.cpp | |||
@@ -171,6 +171,20 @@ void TrackerPanel::Redraw() { | |||
171 | } | 171 | } |
172 | } | 172 | } |
173 | 173 | ||
174 | if (AP_IsPaintingShuffle()) { | ||
175 | for (const PaintingExit &painting : map_area.paintings) { | ||
176 | if (!AP_IsPaintingChecked(painting.id)) { | ||
177 | bool reachable = painting.door ? IsDoorOpen(*painting.door) : true; | ||
178 | |||
179 | if (reachable) { | ||
180 | has_reachable_unchecked = true; | ||
181 | } else { | ||
182 | has_unreachable_unchecked = true; | ||
183 | } | ||
184 | } | ||
185 | } | ||
186 | } | ||
187 | |||
174 | int real_area_x = final_x + (map_area.map_x - (AREA_EFFECTIVE_SIZE / 2)) * | 188 | int real_area_x = final_x + (map_area.map_x - (AREA_EFFECTIVE_SIZE / 2)) * |
175 | final_width / image_size.GetWidth(); | 189 | final_width / image_size.GetWidth(); |
176 | int real_area_y = final_y + (map_area.map_y - (AREA_EFFECTIVE_SIZE / 2)) * | 190 | int real_area_y = final_y + (map_area.map_y - (AREA_EFFECTIVE_SIZE / 2)) * |