From e290161d58c98e73ea185855e79efad19cb111a2 Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Sat, 8 Mar 2025 00:29:17 -0500 Subject: Added postgame detection --- src/area_popup.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/area_popup.cpp') diff --git a/src/area_popup.cpp b/src/area_popup.cpp index 9c7406b..d7f45b6 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp @@ -52,6 +52,9 @@ void AreaPopup::UpdateIndicators() { for (int section_id = 0; section_id < map_area.locations.size(); section_id++) { const Location& location = map_area.locations.at(section_id); + if (IsLocationPostgame(location.ap_location_id)) { + continue; + } if (tracker_panel->IsPanelsMode()) { if (!location.single_panel) { @@ -78,6 +81,10 @@ void AreaPopup::UpdateIndicators() { if (AP_IsPaintingShuffle() && !tracker_panel->IsPanelsMode()) { for (int painting_id : map_area.paintings) { + if (IsPaintingPostgame(painting_id)) { + continue; + } + const PaintingExit& painting = GD_GetPaintingExit(painting_id); wxSize item_extent = mem_dc.GetTextExtent(painting.display_name); int item_height = @@ -149,6 +156,10 @@ void AreaPopup::UpdateIndicators() { if (AP_IsPaintingShuffle() && !tracker_panel->IsPanelsMode()) { for (int painting_id : map_area.paintings) { + if (IsPaintingPostgame(painting_id)) { + continue; + } + const PaintingExit& painting = GD_GetPaintingExit(painting_id); bool reachable = IsPaintingReachable(painting_id); -- cgit 1.4.1