mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-15 00:05:02 +02:00
Do not build pseudo-buildings explicitly with events
This commit is contained in:
@ -2104,19 +2104,19 @@ std::set<BuildingID> CMapLoaderH3M::convertBuildings(const std::set<BuildingID>
|
||||
{
|
||||
//village hall is always present
|
||||
ret.insert(BuildingID::VILLAGE_HALL);
|
||||
}
|
||||
|
||||
if(ret.find(BuildingID::CITY_HALL) != ret.end())
|
||||
{
|
||||
ret.insert(BuildingID::EXTRA_CITY_HALL);
|
||||
}
|
||||
if(ret.find(BuildingID::TOWN_HALL) != ret.end())
|
||||
{
|
||||
ret.insert(BuildingID::EXTRA_TOWN_HALL);
|
||||
}
|
||||
if(ret.find(BuildingID::CAPITOL) != ret.end())
|
||||
{
|
||||
ret.insert(BuildingID::EXTRA_CAPITOL);
|
||||
if(ret.find(BuildingID::CITY_HALL) != ret.end())
|
||||
{
|
||||
ret.insert(BuildingID::EXTRA_CITY_HALL);
|
||||
}
|
||||
if(ret.find(BuildingID::TOWN_HALL) != ret.end())
|
||||
{
|
||||
ret.insert(BuildingID::EXTRA_TOWN_HALL);
|
||||
}
|
||||
if(ret.find(BuildingID::CAPITOL) != ret.end())
|
||||
{
|
||||
ret.insert(BuildingID::EXTRA_CAPITOL);
|
||||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user