Modernize resourceSet
This commit is contained in:
1 parent
ecbbbeda9b
commit
bbbbfe00f0
12 files changed
+54
-72
No files matched your search
@@ -492,9 +492,8 @@ void IBoatGenerator::getProblemText(MetaString &out, const CGHeroInstance *visit
|
||||
}
|
||||
}
|
||||
|
||||
void IShipyard::getBoatCost( std::vector<si32> &cost ) const
|
||||
void IShipyard::getBoatCost(TResources & cost) const
|
||||
{
|
||||
cost.resize(GameConstants::RESOURCE_QUANTITY);
|
||||
cost[Res::WOOD] = 10;
|
||||
cost[Res::GOLD] = 1000;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user