From b651af0014451661858adf2c0fa3b4ecb4d3d4db Mon Sep 17 00:00:00 2001 From: fred-boy Date: Sun, 18 Nov 2018 01:45:20 +0700 Subject: [PATCH] Hide player hitbox --- core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java b/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java index dc91d62..7780d51 100644 --- a/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java +++ b/core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java @@ -301,11 +301,6 @@ public class GameRenderer extends Renderer { drawString("Game mode: " + gp.player.gameMode, 0, 80); } spriter.end(); - - shaper.begin(ShapeRenderer.ShapeType.Line); - shaper.setColor(Color.BLACK); - shaper.rect(gp.player.pos.x - getCamX(), gp.player.pos.y - getCamY(), gp.player.getWidth(), gp.player.getHeight()); - shaper.end(); } } -- 2.29.2