summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/resources/db/mapdb.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/db/mapdb.cpp b/src/resources/db/mapdb.cpp
index f0c9d988c..371085cb6 100644
--- a/src/resources/db/mapdb.cpp
+++ b/src/resources/db/mapdb.cpp
@@ -82,6 +82,13 @@ void MapDB::loadRemapXmlFile(const std::string &fileName)
mMaps[name] = value;
}
+ else if (xmlNameEqual(node, "include"))
+ {
+ const std::string name = XML::getProperty(node, "name", "");
+ if (!name.empty())
+ loadRemapXmlFile(name);
+ continue;
+ }
}
delete doc;