瀏覽代碼

Starting gold bonuses must be always multiples of 100

Arseniy Shestakov 9 年之前
父節點
當前提交
383f754ed1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/CGameState.cpp

+ 1 - 1
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:
 			{