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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tracker_state.cpp b/src/tracker_state.cpp index 9acf312..40ba6c4 100644 --- a/src/tracker_state.cpp +++ b/src/tracker_state.cpp
@@ -691,6 +691,8 @@ class StateCalculator {
691} // namespace 691} // namespace
692 692
693void ResetReachabilityRequirements() { 693void ResetReachabilityRequirements() {
694 TrackerLog("Resetting tracker state...");
695
694 std::lock_guard reachability_guard(GetState().reachability_mutex); 696 std::lock_guard reachability_guard(GetState().reachability_mutex);
695 GetState().requirements.Reset(); 697 GetState().requirements.Reset();
696 GetState().reachable_doors.clear(); 698 GetState().reachable_doors.clear();
@@ -754,6 +756,8 @@ void ResetReachabilityRequirements() {
754} 756}
755 757
756void RecalculateReachability() { 758void RecalculateReachability() {
759 TrackerLog("Calculating reachability...");
760
757 std::lock_guard reachability_guard(GetState().reachability_mutex); 761 std::lock_guard reachability_guard(GetState().reachability_mutex);
758 762
759 // Receiving items and checking paintings should never remove access to doors 763 // Receiving items and checking paintings should never remove access to doors