summaryrefslogtreecommitdiff
path: root/src/particle.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle.cpp')
-rw-r--r--src/particle.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle.cpp b/src/particle.cpp
index f58a26f1..355b7069 100644
--- a/src/particle.cpp
+++ b/src/particle.cpp
@@ -170,7 +170,7 @@ Particle::update()
}
// Update child emitters
- if (mLifetimePast%Particle::emitterSkip == 0)
+ if ((mLifetimePast-1)%Particle::emitterSkip == 0)
{
for ( EmitterIterator e = mChildEmitters.begin();
e != mChildEmitters.end();