diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2023-09-17 12:42:46 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2023-09-17 12:42:46 -0400 |
commit | 8e89e198830a0908ddd8f4c91cbc2bff08b0b32c (patch) | |
tree | 67d5135dd589cda0be6ad206dec8534b32a88bc3 /src/area_popup.cpp | |
parent | 28c8c9c06981503ed86a0292c63c75b1b6784191 (diff) | |
download | lingo-ap-tracker-8e89e198830a0908ddd8f4c91cbc2bff08b0b32c.tar.gz lingo-ap-tracker-8e89e198830a0908ddd8f4c91cbc2bff08b0b32c.tar.bz2 lingo-ap-tracker-8e89e198830a0908ddd8f4c91cbc2bff08b0b32c.zip |
Use hardcoded AP ids now
Diffstat (limited to 'src/area_popup.cpp')
-rw-r--r-- | src/area_popup.cpp | 4 |
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); |