diff options
Diffstat (limited to 'src/resources/settingsmanager.cpp')
-rw-r--r-- | src/resources/settingsmanager.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/resources/settingsmanager.cpp b/src/resources/settingsmanager.cpp index b307d565..f4a40577 100644 --- a/src/resources/settingsmanager.cpp +++ b/src/resources/settingsmanager.cpp @@ -121,6 +121,14 @@ namespace SettingsManager return false; } + if (xmlStrEqual(node->name, BAD_CAST "monsters")) + { + if (XML::hasProperty(node, "offset")) + { + MonsterDB::setMonsterIdOffset(XML::getProperty(node, "offset", 0)); + } + } + // go through every node for_each_xml_child_node(childNode, node) { |