Change max height of terrain
This commit is contained in:
parent
6bf7ee809b
commit
0f730b167e
@ -62,7 +62,7 @@ public class Terrain implements Constants {
|
||||
|
||||
public void generate(long seed) {
|
||||
final Random rnd = new Random(seed);
|
||||
final int maxHeight = HEIGHT - HEIGHT / 3;
|
||||
final int maxHeight = HEIGHT / 2;
|
||||
final int stepHeight = maxHeight / 100 * blockSize;
|
||||
|
||||
blockHeights[0] = rnd.nextInt(maxHeight);
|
||||
|
Loading…
Reference in New Issue
Block a user