about summary refs log tree commit diff stats
path: root/src/tracker_panel.cpp
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2023-11-17 12:39:24 -0500
committerStar Rauchenberger <fefferburbia@gmail.com>2023-11-17 12:39:24 -0500
commit3b49bdc6c73946b4132fe7bc119208e559995f67 (patch)
tree315d66d2d0193944ecd7a316949762fdce658365 /src/tracker_panel.cpp
parent4adfe42a300a597cf8e7036cd189d197b08a7f01 (diff)
downloadlingo-ap-tracker-3b49bdc6c73946b4132fe7bc119208e559995f67.tar.gz
lingo-ap-tracker-3b49bdc6c73946b4132fe7bc119208e559995f67.tar.bz2
lingo-ap-tracker-3b49bdc6c73946b4132fe7bc119208e559995f67.zip
Fixed hunt-only areas not showing up for hunts
Diffstat (limited to 'src/tracker_panel.cpp')
-rw-r--r--src/tracker_panel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp index f6fed25..5e035af 100644 --- a/src/tracker_panel.cpp +++ b/src/tracker_panel.cpp
@@ -104,7 +104,8 @@ void TrackerPanel::Redraw() {
104 104
105 for (AreaIndicator &area : areas_) { 105 for (AreaIndicator &area : areas_) {
106 const MapArea &map_area = GD_GetMapArea(area.area_id); 106 const MapArea &map_area = GD_GetMapArea(area.area_id);
107 if (!AP_IsLocationVisible(map_area.classification)) { 107 if (!AP_IsLocationVisible(map_area.classification) &&
108 !(map_area.hunt && GetTrackerConfig().show_hunt_panels)) {
108 area.active = false; 109 area.active = false;
109 continue; 110 continue;
110 } else { 111 } else {