diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-11 20:59:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-11 22:24:04 +0300 |
commit | af8863d722f06153877d289b939b5ba84713621d (patch) | |
tree | cbb97e2ea203d40615c49803c50b7f3c82f53ad6 /src/resources/db/itemdb.cpp | |
parent | 0148cb8ad0e071464f09ada9eb41625dee038cb8 (diff) | |
download | ManaVerse-af8863d722f06153877d289b939b5ba84713621d.tar.gz ManaVerse-af8863d722f06153877d289b939b5ba84713621d.tar.bz2 ManaVerse-af8863d722f06153877d289b939b5ba84713621d.tar.xz ManaVerse-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.cpp | 4 |
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); } |