summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0842183)
raw | patch | inline | side by side (parent: 0842183)
author | fred-boy <fredboy@protonmail.com> | |
Fri, 27 Sep 2019 11:17:24 +0000 (18:17 +0700) | ||
committer | fred-boy <fredboy@protonmail.com> | |
Sun, 29 Sep 2019 04:39:17 +0000 (11:39 +0700) |
core/src/ru/deadsoftware/cavedroid/game/WorldGen.java | patch | blob | history |
diff --git a/core/src/ru/deadsoftware/cavedroid/game/WorldGen.java b/core/src/ru/deadsoftware/cavedroid/game/WorldGen.java
index faacb252ba36fd2dfd06b8f5c748d44203742a3d..b6ab59e2f91a20b7d76837509bfd0da49c47e07e 100644 (file)
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;