summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
committerAndrei Karas <akaras@inbox.ru>2016-01-25 18:40:05 +0300
commit2157b8c6629cea79801566244fc3f1d8491e91be (patch)
treefb999e7d464c70511f13472da0fba86749b8d737 /src/resources/db/itemdb.cpp
parente89fb908638196c9484a2038e3f3eb18db6ef4ee (diff)
downloadManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.gz
ManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.bz2
ManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.tar.xz
ManaVerse-2157b8c6629cea79801566244fc3f1d8491e91be.zip
Add file utils function getFilesInDir.
Diffstat (limited to 'src/resources/db/itemdb.cpp')
-rw-r--r--src/resources/db/itemdb.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/itemdb.cpp b/src/resources/db/itemdb.cpp
index 6a3766cc6..620367bd1 100644
--- a/src/resources/db/itemdb.cpp
+++ b/src/resources/db/itemdb.cpp
@@ -41,6 +41,7 @@
#include "utils/delete2.h"
#include "utils/dtor.h"
+#include "utils/files.h"
#include "utils/stringmap.h"
#include "debug.h"
@@ -250,7 +251,7 @@ void ItemDB::load()
loadXmlFile(paths.getStringValue("itemsPatchFile"), tagNum);
StringVect list;
- BeingCommon::getIncludeFiles(paths.getStringValue("itemsPatchDir"),
+ Files::getFilesInDir(paths.getStringValue("itemsPatchDir"),
list,
".xml");
FOR_EACH (StringVectCIter, it, list)