diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-06 20:43:46 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-06 20:43:46 +0300 |
commit | 463d5c603ea95f478dff4b12fbca3c7dd05cc8b9 (patch) | |
tree | 00412a9d4a91de61ee62b3c8b9c03c928db5d809 /src/resources/db/deaddb.cpp | |
parent | 286e2b7edc988f93e347b6ccfd51da2a56d18d73 (diff) | |
download | manaverse-463d5c603ea95f478dff4b12fbca3c7dd05cc8b9.tar.gz manaverse-463d5c603ea95f478dff4b12fbca3c7dd05cc8b9.tar.bz2 manaverse-463d5c603ea95f478dff4b12fbca3c7dd05cc8b9.tar.xz manaverse-463d5c603ea95f478dff4b12fbca3c7dd05cc8b9.zip |
add ability to inlude config parts from subdirs for most dbs.
Diffstat (limited to 'src/resources/db/deaddb.cpp')
-rw-r--r-- | src/resources/db/deaddb.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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) |