diff options
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r-- | src/particleemitter.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp index 4ba8c9c6b..918f25570 100644 --- a/src/particleemitter.cpp +++ b/src/particleemitter.cpp @@ -41,13 +41,12 @@ ParticleEmitter::ParticleEmitter(XmlNodePtr emitterNode, Particle *target, Map *map, int rotation, - const std::string& dyePalettes): + const std::string& dyePalettes) : + mParticleTarget(target), + mMap(map), mOutputPauseLeft(0), mParticleImage(nullptr) { - mMap = map; - mParticleTarget = target; - // Initializing default values mParticlePosX.set(0.0f); mParticlePosY.set(0.0f); |