From 383f754ed1ac070ae972ae2250337db41bb12d02 Mon Sep 17 00:00:00 2001 From: Arseniy Shestakov Date: Thu, 7 Jan 2016 20:51:37 +0300 Subject: [PATCH] Starting gold bonuses must be always multiples of 100 --- lib/CGameState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/CGameState.cpp b/lib/CGameState.cpp index 1d534cf24..782b8409c 100644 --- a/lib/CGameState.cpp +++ b/lib/CGameState.cpp @@ -1658,7 +1658,7 @@ void CGameState::initStartingBonus() switch(scenarioOps->playerInfos[elem.first].bonus) { case PlayerSettings::GOLD: - elem.second.resources[Res::GOLD] += rand.nextInt(500, 1000); + elem.second.resources[Res::GOLD] += rand.nextInt(5, 10) * 100; break; case PlayerSettings::RESOURCE: {