summaryrefslogtreecommitdiff
path: root/src/resources/db/commandsdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-06 23:13:00 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-06 23:13:00 +0300
commit6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6 (patch)
treec31a7e703e9452f667ef5a7f0958375ba388c50e /src/resources/db/commandsdb.cpp
parenta86bdc28fb8bc8a70c6a19523789495d87c7a56d (diff)
downloadmanaverse-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.gz
manaverse-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.bz2
manaverse-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.xz
manaverse-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.zip
Add strong types bool type UseResman.
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 daab8ef2e..be7666f32 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, true, false);
+ XML::Document doc(fileName, UseResman_true, false);
const XmlNodePtrConst rootNode = doc.rootNode();
if (!rootNode || !xmlNameEqual(rootNode, "commands"))