fixed buttons and GUI

This commit is contained in:
drPepper 2014-07-31 19:13:37 +04:00
parent a98429e24a
commit 180371cda2
3 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.1 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.5 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

View file

@ -79,7 +79,7 @@ public final class EntityCamera extends EntityLivingBase
mc.renderViewEntity.rotationPitch = player.rotationPitch;
// Perform zoom
if (Mouse.isButtonDown(1) && waitTicks-- == 0)
if (Mouse.isButtonDown(1) && waitTicks-- <= 0)
{
waitTicks = 4;
zoom();
@ -90,7 +90,7 @@ public final class EntityCamera extends EntityLivingBase
ClientCameraUtils.resetCam();
this.setDead();
}
else if (Mouse.isButtonDown(0) && fireWaitTicks-- == 0)
else if (Mouse.isButtonDown(0) && fireWaitTicks-- <= 0)
{
fireWaitTicks = 1;