about summary refs log tree commit diff stats
path: root/src/tracker_state.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tracker_state.cpp')
-rw-r--r--src/tracker_state.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index 46bdbec..66e7751 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp
@@ -52,9 +52,12 @@ class RequirementCalculator {
52 Requirements requirements; 52 Requirements requirements;
53 const Door& door_obj = GD_GetDoor(door_id); 53 const Door& door_obj = GD_GetDoor(door_id);
54 54
55 if (!AP_IsPilgrimageEnabled() && 55 if (door_obj.type == DoorType::kSunPainting) {
56 door_obj.type == DoorType::kSunPainting) { 56 if (!AP_IsPilgrimageEnabled()) {
57 requirements.items.insert(door_obj.ap_item_id); 57 requirements.items.insert(door_obj.ap_item_id);
58 } else {
59 requirements.disabled = true;
60 }
58 } else if (door_obj.type == DoorType::kSunwarp) { 61 } else if (door_obj.type == DoorType::kSunwarp) {
59 switch (AP_GetSunwarpAccess()) { 62 switch (AP_GetSunwarpAccess()) {
60 case kSUNWARP_ACCESS_NORMAL: 63 case kSUNWARP_ACCESS_NORMAL: