about summary refs log tree commit diff stats
path: root/src/area_popup.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-03-13 11:55:55 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-03-13 11:55:55 -0400
commitdacbe8e3fbda85f7c2e7e7b660795f2a080a9d25 (patch)
tree65f201e323d5d6a36291ec5a108c4b14649116da /src/area_popup.cpp
parentf4945731a958371d206ccfa4a34486b263be5b21 (diff)
downloadlingo-ap-tracker-dacbe8e3fbda85f7c2e7e7b660795f2a080a9d25.tar.gz
lingo-ap-tracker-dacbe8e3fbda85f7c2e7e7b660795f2a080a9d25.tar.bz2
lingo-ap-tracker-dacbe8e3fbda85f7c2e7e7b660795f2a080a9d25.zip
Use sync fields for hunt panels
Diffstat (limited to 'src/area_popup.cpp')
-rw-r--r--src/area_popup.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/area_popup.cpp b/src/area_popup.cpp index a8e6004..2c9d18d 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp
@@ -145,7 +145,8 @@ void AreaPopup::UpdateIndicators() {
145 } else { 145 } else {
146 checked = AP_HasCheckedGameLocation(location.ap_location_id) || 146 checked = AP_HasCheckedGameLocation(location.ap_location_id) ||
147 (location.hunt && 147 (location.hunt &&
148 AP_HasCheckedHuntPanel(location.ap_location_id)); 148 AP_IsPanelSolved(
149 GD_GetPanel(*location.single_panel).solve_index));
149 } 150 }
150 151
151 const wxBitmap* eye_ptr = checked ? checked_eye_ : unchecked_eye_; 152 const wxBitmap* eye_ptr = checked ? checked_eye_ : unchecked_eye_;