diff --git a/java/src/game/Game.java b/java/src/game/Game.java index 8ba1a38..2e49535 100755 --- a/java/src/game/Game.java +++ b/java/src/game/Game.java @@ -264,7 +264,7 @@ public class Game implements IThreadListener { private boolean secondary; private boolean tertiary; private boolean quarternary; - private boolean cameraUsed; + private boolean showHud = true; public boolean jump; public boolean sneak; public boolean debugCamEnable; @@ -278,8 +278,8 @@ public class Game implements IThreadListener { public boolean tileOverlay; public boolean itemCheat; public boolean dayCycle = true; - public boolean showHud = true; public boolean debugPlayer; + public boolean cameraUsed; private int leftClickCounter; private int rightClickTimer; diff --git a/java/src/game/gui/GuiSkin.java b/java/src/game/gui/GuiSkin.java index 67ee483..3c0faa3 100755 --- a/java/src/game/gui/GuiSkin.java +++ b/java/src/game/gui/GuiSkin.java @@ -148,14 +148,14 @@ public class GuiSkin extends GuiList // GuiSkin.this.gm.getTextureManager().bindTexture(tex); GlState.enableBlend(); GlState.enableDepth(); - boolean flag = GuiSkin.this.gm.showHud; - GuiSkin.this.gm.showHud = false; + boolean flag = GuiSkin.this.gm.cameraUsed; + GuiSkin.this.gm.cameraUsed = true; EntityTexManager.altTexture = tex; EntityTexManager.altLayer = this.dynId; EntityTexManager.altNpcLayer = this.dynId == -1 && this.charinfo != null ? this.charinfo.skin : null; drawEntity(x + 32, y + 60, 28.0f / GuiSkin.this.gm.thePlayer.getHeight(), -45.0f, -20.0f, GuiSkin.this.gm.thePlayer); - GuiSkin.this.gm.showHud = flag; + GuiSkin.this.gm.cameraUsed = flag; EntityTexManager.altTexture = null; EntityTexManager.altLayer = -1; EntityTexManager.altNpcLayer = null;