summaryrefslogtreecommitdiff
path: root/src/particleemitter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r--src/particleemitter.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp
index 90b29422f..e786e7491 100644
--- a/src/particleemitter.cpp
+++ b/src/particleemitter.cpp
@@ -401,6 +401,7 @@ ParticleEmitter & ParticleEmitter::operator=(const ParticleEmitter &o)
mParticleRotation = o.mParticleRotation;
mParticleChildEmitters = o.mParticleChildEmitters;
mDeathEffectConditions = o.mDeathEffectConditions;
+ mDeathEffect = o.mDeathEffect;
mOutputPauseLeft = 0;
@@ -523,7 +524,7 @@ std::list<Particle *> ParticleEmitter::createParticles(int tick)
for (std::list<ParticleEmitter>::iterator
i = mParticleChildEmitters.begin();
- i != mParticleChildEmitters.end(); i++)
+ i != mParticleChildEmitters.end(); ++i)
{
newParticle->addEmitter(new ParticleEmitter(*i));
}