mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-25 22:42:04 +02:00
moddable amount for mines
This commit is contained in:
@@ -209,16 +209,7 @@ void CGMine::flagMine(IGameEventCallback & gameEvents, const PlayerColor & playe
|
||||
|
||||
ui32 CGMine::defaultResProduction() const
|
||||
{
|
||||
switch(producedResource.toEnum())
|
||||
{
|
||||
case EGameResID::WOOD:
|
||||
case EGameResID::ORE:
|
||||
return 2;
|
||||
case EGameResID::GOLD:
|
||||
return 1000;
|
||||
default:
|
||||
return 1;
|
||||
}
|
||||
return getResourceHandler()->getDefaultQuantity();
|
||||
}
|
||||
|
||||
ui32 CGMine::getProducedQuantity() const
|
||||
|
||||
Reference in New Issue
Block a user