summaryrefslogtreecommitdiff
path: root/src/particle
diff options
context:
space:
mode:
Diffstat (limited to 'src/particle')
-rw-r--r--src/particle/particle.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/particle/particle.cpp b/src/particle/particle.cpp
index 2fdb6eab0..08131cd23 100644
--- a/src/particle/particle.cpp
+++ b/src/particle/particle.cpp
@@ -290,7 +290,9 @@ 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), UseResman_true, false);
+ XML::Document doc(particleEffectFile.substr(0, pos),
+ UseResman_true,
+ SkipError_false);
const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "effect"))