diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 18:46:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:21 +0300 |
commit | ec7d979c3deade2cc29481dca389beb57af1f75e (patch) | |
tree | 1adbd07474ee34eb1fd8895659a7766d19b5da3a /src/particle | |
parent | 340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0 (diff) | |
download | manaverse-ec7d979c3deade2cc29481dca389beb57af1f75e.tar.gz manaverse-ec7d979c3deade2cc29481dca389beb57af1f75e.tar.bz2 manaverse-ec7d979c3deade2cc29481dca389beb57af1f75e.tar.xz manaverse-ec7d979c3deade2cc29481dca389beb57af1f75e.zip |
add missing initialisation in particleemitter.
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particleemitter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp index bddd43f54..2ddf3b50c 100644 --- a/src/particle/particleemitter.cpp +++ b/src/particle/particleemitter.cpp @@ -571,7 +571,7 @@ std::list<Particle *> ParticleEmitter::createParticles(const int tick) if (Particle::particleCount > Particle::maxCount) break; - Particle *newParticle; + Particle *newParticle = nullptr; if (mParticleImage) { const std::string name = mParticleImage->getIdPath(); |