From aade79720f930972c1e6f47a251908d4d93be15b Mon Sep 17 00:00:00 2001 From: Xilmi Date: Wed, 24 Jul 2024 21:14:27 +0200 Subject: [PATCH] Update BuildAnalyzer.cpp Allow queuing citadels and castles on other days than satur- and sunday. --- AI/Nullkiller/Analyzers/BuildAnalyzer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AI/Nullkiller/Analyzers/BuildAnalyzer.cpp b/AI/Nullkiller/Analyzers/BuildAnalyzer.cpp index 248e75cf2..6e7cee145 100644 --- a/AI/Nullkiller/Analyzers/BuildAnalyzer.cpp +++ b/AI/Nullkiller/Analyzers/BuildAnalyzer.cpp @@ -74,11 +74,11 @@ void BuildAnalyzer::updateOtherBuildings(TownDevelopmentInfo & developmentInfo) if(developmentInfo.existingDwellings.size() >= 2 && ai->cb->getDate(Date::DAY_OF_WEEK) > boost::date_time::Friday) { - otherBuildings.push_back({BuildingID::CITADEL, BuildingID::CASTLE}); otherBuildings.push_back({BuildingID::HORDE_1}); otherBuildings.push_back({BuildingID::HORDE_2}); } + otherBuildings.push_back({ BuildingID::CITADEL, BuildingID::CASTLE }); otherBuildings.push_back({ BuildingID::RESOURCE_SILO }); otherBuildings.push_back({ BuildingID::SPECIAL_1 }); otherBuildings.push_back({ BuildingID::SPECIAL_2 });