소스 검색

Starting gold bonuses must be always multiples of 100

Arseniy Shestakov 10 년 전
부모
커밋
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:
 			{