diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/particle/particleemitter.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/particle/particleemitter.cpp b/src/particle/particleemitter.cpp index 1e227be1f..69593a0e5 100644 --- a/src/particle/particleemitter.cpp +++ b/src/particle/particleemitter.cpp @@ -73,6 +73,8 @@ ParticleEmitter::ParticleEmitter(const XmlNodePtrConst emitterNode, mOutputPause.set(0); mParticleAlpha.set(1.0F); + if (!emitterNode) + return; for_each_xml_child_node(propertyNode, emitterNode) { if (xmlNameEqual(propertyNode, "property")) |