about summary refs log tree commit diff stats
path: root/src/area_popup.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/area_popup.cpp')
-rw-r--r--src/area_popup.cpp11
1 files changed, 11 insertions, 0 deletions
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() {
52 for (int section_id = 0; section_id < map_area.locations.size(); 52 for (int section_id = 0; section_id < map_area.locations.size();
53 section_id++) { 53 section_id++) {
54 const Location& location = map_area.locations.at(section_id); 54 const Location& location = map_area.locations.at(section_id);
55 if (IsLocationPostgame(location.ap_location_id)) {
56 continue;
57 }
55 58
56 if (tracker_panel->IsPanelsMode()) { 59 if (tracker_panel->IsPanelsMode()) {
57 if (!location.single_panel) { 60 if (!location.single_panel) {
@@ -78,6 +81,10 @@ void AreaPopup::UpdateIndicators() {
78 81
79 if (AP_IsPaintingShuffle() && !tracker_panel->IsPanelsMode()) { 82 if (AP_IsPaintingShuffle() && !tracker_panel->IsPanelsMode()) {
80 for (int painting_id : map_area.paintings) { 83 for (int painting_id : map_area.paintings) {
84 if (IsPaintingPostgame(painting_id)) {
85 continue;
86 }
87
81 const PaintingExit& painting = GD_GetPaintingExit(painting_id); 88 const PaintingExit& painting = GD_GetPaintingExit(painting_id);
82 wxSize item_extent = mem_dc.GetTextExtent(painting.display_name); 89 wxSize item_extent = mem_dc.GetTextExtent(painting.display_name);
83 int item_height = 90 int item_height =
@@ -149,6 +156,10 @@ void AreaPopup::UpdateIndicators() {
149 156
150 if (AP_IsPaintingShuffle() && !tracker_panel->IsPanelsMode()) { 157 if (AP_IsPaintingShuffle() && !tracker_panel->IsPanelsMode()) {
151 for (int painting_id : map_area.paintings) { 158 for (int painting_id : map_area.paintings) {
159 if (IsPaintingPostgame(painting_id)) {
160 continue;
161 }
162
152 const PaintingExit& painting = GD_GetPaintingExit(painting_id); 163 const PaintingExit& painting = GD_GetPaintingExit(painting_id);
153 164
154 bool reachable = IsPaintingReachable(painting_id); 165 bool reachable = IsPaintingReachable(painting_id);