diff options
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); |