diff options
Diffstat (limited to 'src/tracker_panel.cpp')
| -rw-r--r-- | src/tracker_panel.cpp | 10 | 
1 files changed, 4 insertions, 6 deletions
| diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp index 40d3ced..5580068 100644 --- a/src/tracker_panel.cpp +++ b/src/tracker_panel.cpp | |||
| @@ -104,12 +104,10 @@ void TrackerPanel::Redraw() { | |||
| 104 | 104 | ||
| 105 | bool has_reachable_unchecked = false; | 105 | bool has_reachable_unchecked = false; | 
| 106 | bool has_unreachable_unchecked = false; | 106 | bool has_unreachable_unchecked = false; | 
| 107 | for (int section_id = 0; section_id < map_area.locations.size(); | 107 | for (const Location §ion : map_area.locations) { | 
| 108 | section_id++) { | 108 | if (AP_IsLocationVisible(section.classification) && | 
| 109 | if (AP_IsLocationVisible( | 109 | !AP_HasCheckedGameLocation(section.ap_location_id)) { | 
| 110 | map_area.locations.at(section_id).classification) && | 110 | if (IsLocationReachable(section.ap_location_id)) { | 
| 111 | !AP_HasCheckedGameLocation(area.area_id, section_id)) { | ||
| 112 | if (IsLocationReachable(area.area_id, section_id)) { | ||
| 113 | has_reachable_unchecked = true; | 111 | has_reachable_unchecked = true; | 
| 114 | } else { | 112 | } else { | 
| 115 | has_unreachable_unchecked = true; | 113 | has_unreachable_unchecked = true; | 
