summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
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();