From 463d5c603ea95f478dff4b12fbca3c7dd05cc8b9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Jan 2014 20:43:46 +0300 Subject: add ability to inlude config parts from subdirs for most dbs. --- src/resources/db/deaddb.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/resources/db/deaddb.cpp') diff --git a/src/resources/db/deaddb.cpp b/src/resources/db/deaddb.cpp index 6bf5c4719..078813583 100644 --- a/src/resources/db/deaddb.cpp +++ b/src/resources/db/deaddb.cpp @@ -25,6 +25,8 @@ #include "utils/translation/podict.h" +#include "resources/beingcommon.h" + #include "debug.h" namespace @@ -37,6 +39,7 @@ void DeadDB::load() { loadXmlFile(paths.getStringValue("deadMessagesFile")); loadXmlFile(paths.getStringValue("deadMessagesPatchFile")); + loadXmlDir("deadMessagesPatchDir", loadXmlFile); } void DeadDB::loadXmlFile(const std::string &fileName) -- cgit v1.2.3-60-g2f50