Skip to content

Commit

Permalink
Use left_height from GuiInGameForge for compat
Browse files Browse the repository at this point in the history
  • Loading branch information
iguanaman committed Dec 26, 2013
1 parent af0330a commit 46ca215
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/tconstruct/client/TClientEvents.java
Expand Up @@ -88,8 +88,6 @@ public void postStitch (TextureStitchEvent.Post event)

private static final ResourceLocation hearts = new ResourceLocation("tinker", "textures/gui/newhearts.png");
private static final ResourceLocation icons = new ResourceLocation("textures/gui/icons.png");
public static int left_height = 39;
public static int right_height = 39;
Random rand = new Random();
int updateCounter = 0;

Expand Down Expand Up @@ -131,7 +129,7 @@ public void renderHealthbar (RenderGameOverlayEvent.Pre event)
this.rand.setSeed((long) (updateCounter * 312871));

int left = scaledWidth / 2 - 91;
int top = scaledHeight - left_height;
int top = scaledHeight - GuiIngameForge.left_height;

int regen = -1;
if (mc.thePlayer.isPotionActive(Potion.regeneration))
Expand Down

0 comments on commit 46ca215

Please sign in to comment.