diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-04-24 00:16:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-04-24 00:16:03 +0300 |
commit | e73f7da4d65e7dc61a952894cc6f0843c4da3170 (patch) | |
tree | 6865dfe85383992dd82e51c2a206c899746a8ad6 /src/particle.cpp | |
parent | f867942810c0014a2f8cc29543163e80b5482921 (diff) | |
download | plus-e73f7da4d65e7dc61a952894cc6f0843c4da3170.tar.gz plus-e73f7da4d65e7dc61a952894cc6f0843c4da3170.tar.bz2 plus-e73f7da4d65e7dc61a952894cc6f0843c4da3170.tar.xz plus-e73f7da4d65e7dc61a952894cc6f0843c4da3170.zip |
Add particle physics settings (default value is best perfomance)
Diffstat (limited to 'src/particle.cpp')
-rw-r--r-- | src/particle.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 |