summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 18:46:27 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:21 +0300
commitec7d979c3deade2cc29481dca389beb57af1f75e (patch)
tree1adbd07474ee34eb1fd8895659a7766d19b5da3a /src/particle
parent340e7ebdc8d86b0f3dbd00a459765bc1f1d876e0 (diff)
downloadmanaplus-ec7d979c3deade2cc29481dca389beb57af1f75e.tar.gz
manaplus-ec7d979c3deade2cc29481dca389beb57af1f75e.tar.bz2
manaplus-ec7d979c3deade2cc29481dca389beb57af1f75e.tar.xz
manaplus-ec7d979c3deade2cc29481dca389beb57af1f75e.zip
add missing initialisation in particleemitter.
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particleemitter.cpp2
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();