diff options
| author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-04-06 17:46:46 -0400 |
|---|---|---|
| committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-04-06 17:46:46 -0400 |
| commit | 8dfd96bfafa9a7d6405275c0652e9b4977092127 (patch) | |
| tree | 8b7cffc0217a8c0903f97e515f7035d5719ff133 /src/area_popup.cpp | |
| parent | 37a2afeca8690af6fbfb22718714e6f62b67ee79 (diff) | |
| download | lingo-ap-tracker-8dfd96bfafa9a7d6405275c0652e9b4977092127.tar.gz lingo-ap-tracker-8dfd96bfafa9a7d6405275c0652e9b4977092127.tar.bz2 lingo-ap-tracker-8dfd96bfafa9a7d6405275c0652e9b4977092127.zip | |
Properly handle "show all panels" with postgame disabled
Diffstat (limited to 'src/area_popup.cpp')
| -rw-r--r-- | src/area_popup.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
| diff --git a/src/area_popup.cpp b/src/area_popup.cpp index 8ec4dd1..c95e492 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp | |||
| @@ -50,11 +50,8 @@ void AreaPopup::ResetIndicators() { | |||
| 50 | for (int section_id = 0; section_id < map_area.locations.size(); | 50 | for (int section_id = 0; section_id < map_area.locations.size(); |
| 51 | section_id++) { | 51 | section_id++) { |
| 52 | const Location& location = map_area.locations.at(section_id); | 52 | const Location& location = map_area.locations.at(section_id); |
| 53 | if (IsLocationPostgame(location.ap_location_id)) { | 53 | if ((!AP_IsLocationVisible(location.classification) || |
| 54 | continue; | 54 | IsLocationPostgame(location.ap_location_id)) && |
| 55 | } | ||
| 56 | |||
| 57 | if (!AP_IsLocationVisible(location.classification) && | ||
| 58 | !(location.hunt && | 55 | !(location.hunt && |
| 59 | GetTrackerConfig().visible_panels == TrackerConfig::kHUNT_PANELS) && | 56 | GetTrackerConfig().visible_panels == TrackerConfig::kHUNT_PANELS) && |
| 60 | !(location.single_panel && | 57 | !(location.single_panel && |
