summaryrefslogtreecommitdiff
path: root/src/resources/db/commandsdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/commandsdb.cpp')
-rw-r--r--src/resources/db/commandsdb.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/db/commandsdb.cpp b/src/resources/db/commandsdb.cpp
index 6933fb0f4..f1c177916 100644
--- a/src/resources/db/commandsdb.cpp
+++ b/src/resources/db/commandsdb.cpp
@@ -58,7 +58,7 @@ static SpellTarget parseTarget(const std::string &text)
void CommandsDB::loadXmlFile(const std::string &fileName)
{
- XML::Document doc(fileName);
+ XML::Document doc(fileName, true);
const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "commands"))