mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
nullkiller2: Replace hasBuiltSomeTradeBuilding() with hasBuiltResourceMarketplace()
This commit is contained in:
@@ -20,7 +20,7 @@ bool ResourceTrader::trade(BuildAnalyzer & buildAnalyzer, CCallback & cc, const
|
||||
// Are those used anywhere? To inspect.
|
||||
for(const auto * const town : cc.getTownsInfo())
|
||||
{
|
||||
if(town->hasBuiltSomeTradeBuilding())
|
||||
if(town->hasBuiltResourceMarketplace())
|
||||
{
|
||||
marketId = town->id;
|
||||
break;
|
||||
|
||||
Reference in New Issue
Block a user