mirror of
https://github.com/vcmi/vcmi.git
synced 2024-12-14 10:12:59 +02:00
Update BuildAnalyzer.cpp
Allow queuing citadels and castles on other days than satur- and sunday.
This commit is contained in:
parent
69b64a3241
commit
aade79720f
@ -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)
|
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_1});
|
||||||
otherBuildings.push_back({BuildingID::HORDE_2});
|
otherBuildings.push_back({BuildingID::HORDE_2});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
otherBuildings.push_back({ BuildingID::CITADEL, BuildingID::CASTLE });
|
||||||
otherBuildings.push_back({ BuildingID::RESOURCE_SILO });
|
otherBuildings.push_back({ BuildingID::RESOURCE_SILO });
|
||||||
otherBuildings.push_back({ BuildingID::SPECIAL_1 });
|
otherBuildings.push_back({ BuildingID::SPECIAL_1 });
|
||||||
otherBuildings.push_back({ BuildingID::SPECIAL_2 });
|
otherBuildings.push_back({ BuildingID::SPECIAL_2 });
|
||||||
|
Loading…
Reference in New Issue
Block a user