diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-01-25 18:40:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-01-25 18:40:05 +0300 |
commit | 2157b8c6629cea79801566244fc3f1d8491e91be (patch) | |
tree | fb999e7d464c70511f13472da0fba86749b8d737 /src/resources/db/badgesdb.cpp | |
parent | e89fb908638196c9484a2038e3f3eb18db6ef4ee (diff) | |
download | manaverse-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/badgesdb.cpp')
-rw-r--r-- | src/resources/db/badgesdb.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/db/badgesdb.cpp b/src/resources/db/badgesdb.cpp index ccaa1dc3d..de8f48499 100644 --- a/src/resources/db/badgesdb.cpp +++ b/src/resources/db/badgesdb.cpp @@ -24,6 +24,7 @@ #include "resources/beingcommon.h" +#include "utils/files.h" #include "utils/xmlutils.h" #include "debug.h" @@ -57,7 +58,7 @@ static void loadDB(const std::string &name, BadgesInfos &arr) name, arr); StringVect listVect; - BeingCommon::getIncludeFiles(paths.getStringValue( + Files::getFilesInDir(paths.getStringValue( "badgesPatchDir"), listVect, ".xml"); FOR_EACH (StringVectCIter, itVect, listVect) loadXmlFile(*itVect, name, arr); |