X-Git-Url: https://deadsoftware.ru/gitweb?a=blobdiff_plain;f=core%2Fsrc%2Fru%2Fdeadsoftware%2Fcavecraft%2Fgame%2FWorldGen.java;h=b8e9aee59b953e9742366f1300b27d7b64414da4;hb=a2d04a40dddc471fef220ef38b2f5e2229b9d250;hp=ccbe50a2ad29dd08e95581e749741a36a767f1ef;hpb=524d5abc0b76b25a4cf2b31e6ba4f41a107a5ab6;p=cavedroid.git diff --git a/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java b/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java index ccbe50a..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); @@ -90,7 +91,9 @@ public class WorldGen { } } if (x>2 && x