summaryrefslogtreecommitdiff
path: root/src/resources/db/monsterdb.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/db/monsterdb.cpp')
-rw-r--r--src/resources/db/monsterdb.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/resources/db/monsterdb.cpp b/src/resources/db/monsterdb.cpp
index d5e36f443..ee6ec3a22 100644
--- a/src/resources/db/monsterdb.cpp
+++ b/src/resources/db/monsterdb.cpp
@@ -50,12 +50,7 @@ void MonsterDB::load()
logger->log1("Initializing monster database...");
loadXmlFile(paths.getStringValue("monstersFile"));
loadXmlFile(paths.getStringValue("monstersPatchFile"));
-
- StringVect list;
- BeingCommon::getIncludeFiles(paths.getStringValue(
- "monstersPatchDir"), list);
- FOR_EACH (StringVectCIter, it, list)
- loadXmlFile(*it);
+ loadXmlDir("monstersPatchDir", loadXmlFile);
mLoaded = true;
}