about summary refs log tree commit diff stats
path: root/src/tracker_panel.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-02-26 21:28:25 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-26 21:28:25 -0500
commitbe20b76ac411cc6017c4359ee36a1c9855a9f66e (patch)
treebc96ec093d6df99bb8f8968b67f215dbed19a02b /src/tracker_panel.cpp
parentefa0587b4399a45faecf5aa941ff75a40595a124 (diff)
parentc714f8d2a5827196ca86ed4351ae22cfce5dfce5 (diff)
downloadlingo-ap-tracker-be20b76ac411cc6017c4359ee36a1c9855a9f66e.tar.gz
lingo-ap-tracker-be20b76ac411cc6017c4359ee36a1c9855a9f66e.tar.bz2
lingo-ap-tracker-be20b76ac411cc6017c4359ee36a1c9855a9f66e.zip
Merge branch 'main' into future
Diffstat (limited to 'src/tracker_panel.cpp')
-rw-r--r--src/tracker_panel.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp index 3102110..daaeff7 100644 --- a/src/tracker_panel.cpp +++ b/src/tracker_panel.cpp
@@ -118,7 +118,9 @@ void TrackerPanel::Redraw() {
118 bool has_unreachable_unchecked = false; 118 bool has_unreachable_unchecked = false;
119 for (const Location &section : map_area.locations) { 119 for (const Location &section : map_area.locations) {
120 bool has_unchecked = false; 120 bool has_unchecked = false;
121 if (AP_IsLocationVisible(section.classification)) { 121 if (IsLocationWinCondition(section)) {
122 has_unchecked = !AP_HasReachedGoal();
123 } else if (AP_IsLocationVisible(section.classification)) {
122 has_unchecked = !AP_HasCheckedGameLocation(section.ap_location_id); 124 has_unchecked = !AP_HasCheckedGameLocation(section.ap_location_id);
123 } else if (section.hunt && GetTrackerConfig().show_hunt_panels) { 125 } else if (section.hunt && GetTrackerConfig().show_hunt_panels) {
124 has_unchecked = !AP_HasCheckedHuntPanel(section.ap_location_id); 126 has_unchecked = !AP_HasCheckedHuntPanel(section.ap_location_id);