summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-11 20:59:12 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-11 22:24:04 +0300
commitaf8863d722f06153877d289b939b5ba84713621d (patch)
treecbb97e2ea203d40615c49803c50b7f3c82f53ad6 /src/resources/db/itemdb.cpp
parent0148cb8ad0e071464f09ada9eb41625dee038cb8 (diff)
downloadmanaplus-af8863d722f06153877d289b939b5ba84713621d.tar.gz
manaplus-af8863d722f06153877d289b939b5ba84713621d.tar.bz2
manaplus-af8863d722f06153877d289b939b5ba84713621d.tar.xz
manaplus-af8863d722f06153877d289b939b5ba84713621d.zip
add support for map layer replacments.
This can be used for mods.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index abc164493..931377639 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -217,7 +217,9 @@ void ItemDB::load()
loadXmlFile(paths.getStringValue("itemsPatchFile"), tagNum);
StringVect list;
- BeingCommon::getIncludeFiles(paths.getStringValue("itemsPatchDir"), list);
+ BeingCommon::getIncludeFiles(paths.getStringValue("itemsPatchDir"),
+ list,
+ ".xml");
FOR_EACH (StringVectCIter, it, list)
loadXmlFile(*it, tagNum);
}