2
0
Эх сурвалжийг харах

Added marketplace to buildable buildings

Before marketplaces could only be built as part of a requirement for other buildings but not on their own when that other building already existed like it is the case in certain campaign-missions.
Xilmi 1 жил өмнө
parent
commit
f094bf9602

+ 1 - 0
AI/Nullkiller/Analyzers/BuildAnalyzer.cpp

@@ -83,6 +83,7 @@ void BuildAnalyzer::updateOtherBuildings(TownDevelopmentInfo & developmentInfo)
 	otherBuildings.push_back({ BuildingID::SPECIAL_2 });
 	otherBuildings.push_back({ BuildingID::SPECIAL_3 });
 	otherBuildings.push_back({ BuildingID::SPECIAL_4 });
+	otherBuildings.push_back({ BuildingID::MARKETPLACE });
 
 	for(auto & buildingSet : otherBuildings)
 	{