about summary refs log tree commit diff stats
path: root/src/area_popup.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2024-02-18 09:38:08 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2024-02-18 09:38:08 -0500
commitcf3fc6cbcb9ad00f4b99502344431bef469cec8d (patch)
treefb803654f6aa432a495b820647931e6d79cebaf7 /src/area_popup.cpp
parent7cb55acb62c5a03df75edd0c3c8f228295c1bee8 (diff)
downloadlingo-ap-tracker-cf3fc6cbcb9ad00f4b99502344431bef469cec8d.tar.gz
lingo-ap-tracker-cf3fc6cbcb9ad00f4b99502344431bef469cec8d.tar.bz2
lingo-ap-tracker-cf3fc6cbcb9ad00f4b99502344431bef469cec8d.zip
Make win condition checkable
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 9c97d78..3b5d8d4 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp
@@ -87,7 +87,8 @@ void AreaPopup::UpdateIndicators() {
87 87
88 bool checked = 88 bool checked =
89 AP_HasCheckedGameLocation(location.ap_location_id) || 89 AP_HasCheckedGameLocation(location.ap_location_id) ||
90 (location.hunt && AP_HasCheckedHuntPanel(location.ap_location_id)); 90 (location.hunt && AP_HasCheckedHuntPanel(location.ap_location_id)) ||
91 (IsLocationWinCondition(location) && AP_HasReachedGoal());
91 92
92 wxBitmap* eye_ptr = checked ? &checked_eye_ : &unchecked_eye_; 93 wxBitmap* eye_ptr = checked ? &checked_eye_ : &unchecked_eye_;
93 94