1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-07-01 00:45:26 +02:00

Starting gold bonuses must be always multiples of 100

This commit is contained in:
Arseniy Shestakov
2016-01-07 20:51:37 +03:00
parent cdd50b1603
commit 383f754ed1

View File

@ -1658,7 +1658,7 @@ void CGameState::initStartingBonus()
switch(scenarioOps->playerInfos[elem.first].bonus) switch(scenarioOps->playerInfos[elem.first].bonus)
{ {
case PlayerSettings::GOLD: case PlayerSettings::GOLD:
elem.second.resources[Res::GOLD] += rand.nextInt(500, 1000); elem.second.resources[Res::GOLD] += rand.nextInt(5, 10) * 100;
break; break;
case PlayerSettings::RESOURCE: case PlayerSettings::RESOURCE:
{ {