1
0

Change max height of terrain

This commit is contained in:
Victor 2014-03-15 11:18:40 +02:00
parent 6bf7ee809b
commit 0f730b167e

View File

@ -62,7 +62,7 @@ public class Terrain implements Constants {
public void generate(long seed) { public void generate(long seed) {
final Random rnd = new Random(seed); final Random rnd = new Random(seed);
final int maxHeight = HEIGHT - HEIGHT / 3; final int maxHeight = HEIGHT / 2;
final int stepHeight = maxHeight / 100 * blockSize; final int stepHeight = maxHeight / 100 * blockSize;
blockHeights[0] = rnd.nextInt(maxHeight); blockHeights[0] = rnd.nextInt(maxHeight);