From 75deb67170751156f786a73d3ab8113843a7c4e9 Mon Sep 17 00:00:00 2001 From: fred-boy Date: Wed, 25 Apr 2018 16:08:14 +0700 Subject: [PATCH] Less hills --- core/src/ru/deadsoftware/cavecraft/game/WorldGen.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java b/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java index fb1509e..b8e9aee 100644 --- a/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java +++ b/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java @@ -20,7 +20,8 @@ public class WorldGen { int t; res[0] = mid; for (int i=1; i-3 && t<3) t=0; else t/=Math.abs(t); if (i>width-(max-min)) { if (res[i-1]+tres[0]) t=-Math.abs(t); -- 2.29.2