diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/particle.cpp | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +2008-05-28 Philipp Sehmisch <tmw@crushnet.org> + + * src/particle.cpp: Changed the way particle emitter skip is handled to + make linear and circular emitters work with particleEmitterSkip enabled. + 2008-05-28 Dennis Friis <peavey@placid.dk> * src/being.cpp: Change order of direction to up/down/right/left in 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(); |