1
0

Change stepHeight value

This commit is contained in:
Victor 2014-03-15 11:20:22 +02:00
parent 0f730b167e
commit ca3b8f33ae

View File

@ -63,7 +63,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 / 2; final int maxHeight = HEIGHT / 2;
final int stepHeight = maxHeight / 100 * blockSize; final int stepHeight = maxHeight / 75 * blockSize;
blockHeights[0] = rnd.nextInt(maxHeight); blockHeights[0] = rnd.nextInt(maxHeight);
for (int i = 1; i < blocksCount; i++) { for (int i = 1; i < blocksCount; i++) {