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.cpp10
1 files changed, 8 insertions, 2 deletions
diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp index 466440f..f6fed25 100644 --- a/src/tracker_panel.cpp +++ b/src/tracker_panel.cpp
@@ -114,8 +114,14 @@ void TrackerPanel::Redraw() {
114 bool has_reachable_unchecked = false; 114 bool has_reachable_unchecked = false;
115 bool has_unreachable_unchecked = false; 115 bool has_unreachable_unchecked = false;
116 for (const Location &section : map_area.locations) { 116 for (const Location &section : map_area.locations) {
117 if (AP_IsLocationVisible(section.classification) && 117 bool has_unchecked = false;
118 !AP_HasCheckedGameLocation(section.ap_location_id)) { 118 if (AP_IsLocationVisible(section.classification)) {
119 has_unchecked = !AP_HasCheckedGameLocation(section.ap_location_id);
120 } else if (section.hunt && GetTrackerConfig().show_hunt_panels) {
121 has_unchecked = !AP_HasCheckedHuntPanel(section.ap_location_id);
122 }
123
124 if (has_unchecked) {
119 if (IsLocationReachable(section.ap_location_id)) { 125 if (IsLocationReachable(section.ap_location_id)) {
120 has_reachable_unchecked = true; 126 has_reachable_unchecked = true;
121 } else { 127 } else {