From dacbe8e3fbda85f7c2e7e7b660795f2a080a9d25 Mon Sep 17 00:00:00 2001
From: Star Rauchenberger <fefferburbia@gmail.com>
Date: Thu, 13 Mar 2025 11:55:55 -0400
Subject: Use sync fields for hunt panels

---
 src/tracker_panel.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

(limited to 'src/tracker_panel.cpp')

diff --git a/src/tracker_panel.cpp b/src/tracker_panel.cpp
index 9adcb1f..d8ba054 100644
--- a/src/tracker_panel.cpp
+++ b/src/tracker_panel.cpp
@@ -293,7 +293,8 @@ void TrackerPanel::Redraw() {
       } else if (AP_IsLocationVisible(section.classification)) {
         has_unchecked = !AP_HasCheckedGameLocation(section.ap_location_id);
       } else if (section.hunt && GetTrackerConfig().show_hunt_panels) {
-        has_unchecked = !AP_HasCheckedHuntPanel(section.ap_location_id);
+        has_unchecked =
+            !AP_IsPanelSolved(GD_GetPanel(*section.single_panel).solve_index);
       }
 
       if (has_unchecked) {
-- 
cgit 1.4.1