1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-08-15 20:03:15 +02:00

Merge pull request #216 from dydzio0614/patch-1

Correcting random amount of gold in gold piles
This commit is contained in:
ArseniyShestakov
2016-09-18 00:36:01 +03:00
committed by GitHub

View File

@@ -868,7 +868,7 @@ void CGResource::initObj(CRandomGenerator & rand)
switch(subID)
{
case 6:
amount = rand.nextInt(500, 1000);
amount = rand.nextInt(5, 10) * 100;
break;
case 0: case 2:
amount = rand.nextInt(6, 10);