1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

added CMarketWindow::getMarketTitle()

This commit is contained in:
SoundSSGood
2024-08-24 13:05:11 +03:00
parent 0c5022cae8
commit 4035ab1550
5 changed files with 23 additions and 13 deletions

View File

@@ -908,12 +908,7 @@ const CArmedInstance * CGTownInstance::getUpperArmy() const
bool CGTownInstance::hasBuiltSomeTradeBuilding() const
{
for(const auto & bid : builtBuildings)
{
if(town->buildings.at(bid)->IsTradeBuilding())
return true;
}
return false;
return availableModes().empty() ? false : true;
}
bool CGTownInstance::hasBuilt(BuildingSubID::EBuildingSubID buildingID) const