diff options
Diffstat (limited to 'src/resources/db/npcdb.cpp')
-rw-r--r-- | src/resources/db/npcdb.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/db/npcdb.cpp b/src/resources/db/npcdb.cpp index 7c983160c..c8b29c9da 100644 --- a/src/resources/db/npcdb.cpp +++ b/src/resources/db/npcdb.cpp @@ -49,6 +49,13 @@ void NPCDB::load() loadXmlFile(paths.getStringValue("npcsFile")); loadXmlFile(paths.getStringValue("npcsPatchFile")); + + StringVect list; + BeingCommon::getIncludeFiles(paths.getStringValue( + "npcsPatchDir"), list); + FOR_EACH (StringVectCIter, it, list) + loadXmlFile(*it); + mLoaded = true; } |