Explorar o código

Update BuildAnalyzer.cpp

Allow queuing citadels and castles on other days than satur- and sunday.
Xilmi hai 1 ano
pai
achega
aade79720f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      AI/Nullkiller/Analyzers/BuildAnalyzer.cpp

+ 1 - 1
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 });