diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-07 17:51:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-07 17:51:56 +0300 |
commit | bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2 (patch) | |
tree | 34749cc1679dc9a4d81652e77ed8aaf775f89882 /src/particle | |
parent | 328eaa8ded37e86f2575cb2804d1aaa36cdd4a1b (diff) | |
download | manaplus-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.tar.gz manaplus-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.tar.bz2 manaplus-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.tar.xz manaplus-bd2b67c0d1511a0068dfa3caf90a784fdf6fd3f2.zip |
Dont show some useless errors while loading themes.
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 c0bd275e1..b75b8973b 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), true); + XML::Document doc(particleEffectFile.substr(0, pos), true, false); const XmlNodePtrConst rootNode = doc.rootNode(); if (!rootNode || !xmlNameEqual(rootNode, "effect")) |