From: fred-boy Date: Wed, 25 Apr 2018 09:08:14 +0000 (+0700) Subject: Less hills X-Git-Tag: alpha0.4~104 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=75deb67170751156f786a73d3ab8113843a7c4e9;p=cavedroid.git Less hills --- 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);