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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/area_popup.cpp b/src/area_popup.cpp index 28554d0..0657ea3 100644 --- a/src/area_popup.cpp +++ b/src/area_popup.cpp
@@ -57,8 +57,8 @@ void AreaPopup::UpdateIndicators() {
57 container_sizer->Show(eye_indicators_[section_id]); 57 container_sizer->Show(eye_indicators_[section_id]);
58 } 58 }
59 59
60 bool checked = AP_HasCheckedGameLocation(area_id_, section_id); 60 bool checked = AP_HasCheckedGameLocation(location.ap_location_id);
61 bool reachable = IsLocationReachable(area_id_, section_id); 61 bool reachable = IsLocationReachable(location.ap_location_id);
62 const wxColour* text_color = reachable ? wxWHITE : wxRED; 62 const wxColour* text_color = reachable ? wxWHITE : wxRED;
63 63
64 section_labels_[section_id]->SetForegroundColour(*text_color); 64 section_labels_[section_id]->SetForegroundColour(*text_color);