From 20c99e213303aee769c1bf6320881badb524384f Mon Sep 17 00:00:00 2001 From: fred-boy Date: Sat, 21 Apr 2018 18:30:09 +0700 Subject: [PATCH] Fix water in the sky --- core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java | 6 ------ core/src/ru/deadsoftware/cavecraft/game/WorldGen.java | 6 +++--- 2 files changed, 3 insertions(+), 9 deletions(-) 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