From d9f82c22f403daf0b1e58188b5db070f7ff7d591 Mon Sep 17 00:00:00 2001 From: Ivan Savenko Date: Sun, 1 Dec 2024 21:30:44 +0000 Subject: [PATCH] Recalculate tile owners on hitmap update --- AI/Nullkiller/Analyzers/DangerHitMapAnalyzer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/AI/Nullkiller/Analyzers/DangerHitMapAnalyzer.cpp b/AI/Nullkiller/Analyzers/DangerHitMapAnalyzer.cpp index 792225b7d..5a8d0a24f 100644 --- a/AI/Nullkiller/Analyzers/DangerHitMapAnalyzer.cpp +++ b/AI/Nullkiller/Analyzers/DangerHitMapAnalyzer.cpp @@ -348,6 +348,7 @@ std::set DangerHitMapAnalyzer::getOneTurnAccessibleObj void DangerHitMapAnalyzer::reset() { hitMapUpToDate = false; + tileOwnersUpToDate = false; } }