diff options
author | Philipp Sehmisch <tmw@crushnet.org> | 2008-08-28 22:44:43 +0000 |
---|---|---|
committer | Philipp Sehmisch <tmw@crushnet.org> | 2008-08-28 22:44:43 +0000 |
commit | 41bb6d9efe7884b2605d42584c5fda3327c87156 (patch) | |
tree | a28867505c2bee11a8d3103082ce1c0737492138 /src/particleemitter.cpp | |
parent | 7334c8dd3a7125126e63cd8a483ec93f03bc690d (diff) | |
download | mana-41bb6d9efe7884b2605d42584c5fda3327c87156.tar.gz mana-41bb6d9efe7884b2605d42584c5fda3327c87156.tar.bz2 mana-41bb6d9efe7884b2605d42584c5fda3327c87156.tar.xz mana-41bb6d9efe7884b2605d42584c5fda3327c87156.zip |
Added output-pause to copy constructor of particle emitters.
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r-- | src/particleemitter.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp index 545936f0..3e0a3d75 100644 --- a/src/particleemitter.cpp +++ b/src/particleemitter.cpp @@ -281,10 +281,13 @@ ParticleEmitter & ParticleEmitter::operator=(const ParticleEmitter &o) mParticleAlpha = o.mParticleAlpha; mMap = o.mMap; mOutput = o.mOutput; + mOutputPause = o.mOutputPause; mParticleImage = o.mParticleImage; mParticleAnimation = o.mParticleAnimation; mParticleChildEmitters = o.mParticleChildEmitters; + mOutputPauseLeft = 0; + if (mParticleImage) mParticleImage->incRef(); return *this; |