diff options
Diffstat (limited to 'src/particle/particle.cpp')
-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 241ac634b..c0bd275e1 100644 --- a/src/particle/particle.cpp +++ b/src/particle/particle.cpp @@ -292,7 +292,7 @@ Particle *Particle::addEffect(const std::string &particleEffectFile, const size_t pos = particleEffectFile.find('|'); const std::string dyePalettes = (pos != std::string::npos) ? particleEffectFile.substr(pos + 1) : ""; - XML::Document doc(particleEffectFile.substr(0, pos)); + XML::Document doc(particleEffectFile.substr(0, pos), true); const XmlNodePtrConst rootNode = doc.rootNode(); if (!rootNode || !xmlNameEqual(rootNode, "effect")) |