summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-04-24 00:16:03 +0300
committerAndrei Karas <akaras@inbox.ru>2012-04-24 00:16:03 +0300
commite73f7da4d65e7dc61a952894cc6f0843c4da3170 (patch)
tree6865dfe85383992dd82e51c2a206c899746a8ad6 /src/particle.cpp
parentf867942810c0014a2f8cc29543163e80b5482921 (diff)
downloadplus-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.cpp5
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