Extract ++ and -- from expressions

This commit is contained in:
thatsIch
2015-03-26 11:07:26 +01:00
parent b31f2df58d
commit 9bf8b4388f
26 changed files with 89 additions and 40 deletions
@@ -68,9 +68,10 @@ public class VibrantFX extends EntityFX
// this.moveEntity(this.motionX, this.motionY, this.motionZ);
this.particleScale *= 0.95;
if ( this.particleMaxAge-- <= 0 || this.particleScale < 0.1 )
if ( this.particleMaxAge <= 0 || this.particleScale < 0.1 )
{
this.setDead();
}
this.particleMaxAge--;
}
}