diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-05-06 23:13:00 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-05-06 23:13:00 +0300 |
commit | 6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6 (patch) | |
tree | c31a7e703e9452f667ef5a7f0958375ba388c50e /src/resources/db/mapdb.cpp | |
parent | a86bdc28fb8bc8a70c6a19523789495d87c7a56d (diff) | |
download | mv-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.gz mv-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.bz2 mv-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.tar.xz mv-6c9ef6af1b72b74b9ab94cc1c1349c3cd70c8be6.zip |
Add strong types bool type UseResman.
Diffstat (limited to 'src/resources/db/mapdb.cpp')
-rw-r--r-- | src/resources/db/mapdb.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/resources/db/mapdb.cpp b/src/resources/db/mapdb.cpp index 73a4a9905..a40a7b2ae 100644 --- a/src/resources/db/mapdb.cpp +++ b/src/resources/db/mapdb.cpp @@ -59,7 +59,9 @@ void MapDB::load() void MapDB::loadRemapXmlFile(const std::string &fileName) { - XML::Document *const doc = new XML::Document(fileName, true, false); + XML::Document *const doc = new XML::Document(fileName, + UseResman_true, + false); const XmlNodePtrConst root = doc->rootNode(); if (!root) @@ -140,7 +142,9 @@ void MapDB::readAtlas(XmlNodePtrConst node) void MapDB::loadInfo(const std::string &fileName) { - XML::Document *doc = new XML::Document(fileName, true, false); + XML::Document *doc = new XML::Document(fileName, + UseResman_true, + false); const XmlNodePtrConst root = doc->rootNode(); if (!root) { |