From e73f7da4d65e7dc61a952894cc6f0843c4da3170 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 24 Apr 2012 00:16:03 +0300 Subject: Add particle physics settings (default value is best perfomance) --- src/particle.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/particle.cpp') diff --git a/src/particle.cpp b/src/particle.cpp index e7e41a094..0d771a15e 100644 --- a/src/particle.cpp +++ b/src/particle.cpp @@ -194,9 +194,10 @@ bool Particle::update() { mAlive = DEAD_FLOOR; } - } else if (mPos.z > PARTICLE_SKY) + } + else if (mPos.z > PARTICLE_SKY) { - mAlive = DEAD_SKY; + mAlive = DEAD_SKY; } // Update child emitters -- cgit v1.2.3-70-g09d2