about summary refs log tree commit diff stats
path: root/area_popup.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-05-03 18:27:37 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2023-05-03 18:27:37 -0400
commit325ea53e7bb873870b46d3e38b2b314493a22f79 (patch)
tree53968efbfd78a5960f68147cd6c671513f04938d /area_popup.cpp
parent08ffb400114029569b4043b4f4c5a3f2af9b37b8 (diff)
downloadlingo-ap-tracker-325ea53e7bb873870b46d3e38b2b314493a22f79.tar.gz
lingo-ap-tracker-325ea53e7bb873870b46d3e38b2b314493a22f79.tar.bz2
lingo-ap-tracker-325ea53e7bb873870b46d3e38b2b314493a22f79.zip
Refactored APState
It is no longer a class, because it didn't need to be.
Diffstat (limited to 'area_popup.cpp')
-rw-r--r--area_popup.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/area_popup.cpp b/area_popup.cpp index 4cc3c63..a8ff612 100644 --- a/area_popup.cpp +++ b/area_popup.cpp
@@ -43,7 +43,7 @@ void AreaPopup::UpdateIndicators() {
43 const MapArea& map_area = GetGameData().GetMapArea(area_id_); 43 const MapArea& map_area = GetGameData().GetMapArea(area_id_);
44 for (int section_id = 0; section_id < map_area.locations.size(); 44 for (int section_id = 0; section_id < map_area.locations.size();
45 section_id++) { 45 section_id++) {
46 bool checked = GetAPState().HasCheckedGameLocation(area_id_, section_id); 46 bool checked = AP_HasCheckedGameLocation(area_id_, section_id);
47 bool reachable = 47 bool reachable =
48 GetTrackerState().IsLocationReachable(area_id_, section_id); 48 GetTrackerState().IsLocationReachable(area_id_, section_id);
49 const wxColour* text_color = reachable ? wxWHITE : wxRED; 49 const wxColour* text_color = reachable ? wxWHITE : wxRED;