diff --git a/AI/VCAI/VCAI.cpp b/AI/VCAI/VCAI.cpp index 0d8a4e2fd..448ad87f4 100644 --- a/AI/VCAI/VCAI.cpp +++ b/AI/VCAI/VCAI.cpp @@ -1405,14 +1405,14 @@ void VCAI::buildStructure(const CGTownInstance * t) if (tryBuildAnyStructure(t, std::vector(extra, extra + ARRAY_COUNT(extra)))) return; - //at the end, try to get and build any extra dwelling upgrades (for example HotA 3rd level dwelling) - std::vector extraDwellingUpgrades; + //at the end, try to get and build any extra buildings with nonstandard slots (for example HotA 3rd level dwelling) + std::vector extraBuildings; for (auto buildingInfo : t->town->buildings) if (buildingInfo.first > 43) - extraDwellingUpgrades.push_back(buildingInfo.first); + extraBuildings.push_back(buildingInfo.first); - if (tryBuildAnyStructure(t, extraDwellingUpgrades)) + if (tryBuildAnyStructure(t, extraBuildings)) return; }