From: fred-boy Date: Sat, 21 Apr 2018 11:30:09 +0000 (+0700) Subject: Fix water in the sky X-Git-Tag: alpha0.2~4 X-Git-Url: http://deadsoftware.ru/gitweb?a=commitdiff_plain;h=20c99e213303aee769c1bf6320881badb524384f;p=cavedroid.git Fix water in the sky --- diff --git a/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java b/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java index d104b2f..5a82102 100644 --- a/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java +++ b/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java @@ -220,12 +220,6 @@ public class GameRenderer { } spriteBatch.end(); - shapeRenderer.begin(ShapeRenderer.ShapeType.Line); - shapeRenderer.setColor(Color.ORANGE); - shapeRenderer.line(0-camera.position.x, 128*16-camera.position.y, - gameProc.world.getWidth()*16-camera.position.x, 128*16-camera.position.y); - shapeRenderer.end(); - if (CaveGame.TOUCH) { spriteBatch.begin(); drawTouchGui(); diff --git a/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java b/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java index 48c8db8..32cb8f9 100644 --- a/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java +++ b/core/src/ru/deadsoftware/cavecraft/game/WorldGen.java @@ -81,9 +81,9 @@ public class WorldGen { } } for (int y = height-64; y2 && x