From: fred-boy Date: Fri, 27 Sep 2019 11:17:24 +0000 (+0700) Subject: Remove desert X-Git-Tag: alpha0.4~51 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=0f2b53c7e0e2983d7d760d988dd08410e0fb97d5;p=cavedroid.git Remove desert --- diff --git a/core/src/ru/deadsoftware/cavedroid/game/WorldGen.java b/core/src/ru/deadsoftware/cavedroid/game/WorldGen.java index faacb25..b6ab59e 100644 --- a/core/src/ru/deadsoftware/cavedroid/game/WorldGen.java +++ b/core/src/ru/deadsoftware/cavedroid/game/WorldGen.java @@ -32,12 +32,13 @@ public class WorldGen { res[i] = res[i - 1] + t; if (res[i] < min) res[i] = min; if (res[i] > max) res[i] = max; - if (i >= width / 2) { - bMap[i] = 1; - if (res[i] < 60) res[i] = 60; - } else { - bMap[i] = 0; - } + bMap[i] = 0; +// if (i >= width / 2) { +// bMap[i] = 1; +// if (res[i] < 60) res[i] = 60; +// } else { +// bMap[i] = 0; +// } } if (res[0] < res[width - 1]) res[width - 1] = res[0]; return res;