diff options
Diffstat (limited to 'src/particle')
-rw-r--r-- | src/particle/particle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp index 97c2c42d6..ac9ba8394 100644 --- a/src/particle/particle.cpp +++ b/src/particle/particle.cpp @@ -338,7 +338,7 @@ Particle *Particle::addEffect(const std::string &restrict particleEffectFile, else if ((node = XML::findFirstChildByName(effectChildNode, "image"))) { std::string imageSrc; - if (node && XmlHaveChildContent(node)) + if (XmlHaveChildContent(node)) imageSrc = XmlChildContent(node); if (!imageSrc.empty() && !dyePalettes.empty()) Dye::instantiate(imageSrc, dyePalettes); |