DEADSOFTWARE

Hide player hitbox
authorfred-boy <fred-boy@protonmail.com>
Sat, 17 Nov 2018 18:45:20 +0000 (01:45 +0700)
committerfred-boy <fred-boy@protonmail.com>
Sat, 17 Nov 2018 18:45:20 +0000 (01:45 +0700)
core/src/ru/deadsoftware/cavecraft/game/GameRenderer.java

index dc91d62bf419bb687faf40412d825ebb2757025e..7780d51e5e40a2a9ea52a3fd1116c5f3188fce92 100644 (file)
@@ -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();
     }
 
 }