diff options
Diffstat (limited to 'Minecraft.Client/SmokeParticle.cpp')
| -rw-r--r-- | Minecraft.Client/SmokeParticle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.Client/SmokeParticle.cpp b/Minecraft.Client/SmokeParticle.cpp index b48978f0..a8855885 100644 --- a/Minecraft.Client/SmokeParticle.cpp +++ b/Minecraft.Client/SmokeParticle.cpp @@ -26,8 +26,8 @@ void SmokeParticle::init(Level *level, double x, double y, double z, double xa, size *= scale; oSize = size; - lifetime = static_cast<int>(8 / (Math::random() * 0.8 + 0.2)); - lifetime = static_cast<int>(lifetime * scale); + lifetime = (int) (8 / (Math::random() * 0.8 + 0.2)); + lifetime = (int) (lifetime * scale); noPhysics = false; } |
