diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-06 23:49:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-06 23:51:44 +0300 |
commit | 8c0d021d271e713208a40968a7e758a24a034fe8 (patch) | |
tree | 17bd1076e10c95ae89801b2faa4215180e9f398b /src/effectmanager.cpp | |
parent | a55ff67c4595d4a18fc36ffed90cbde3797498a3 (diff) | |
download | manaverse-8c0d021d271e713208a40968a7e758a24a034fe8.tar.gz manaverse-8c0d021d271e713208a40968a7e758a24a034fe8.tar.bz2 manaverse-8c0d021d271e713208a40968a7e758a24a034fe8.tar.xz manaverse-8c0d021d271e713208a40968a7e758a24a034fe8.zip |
add ability to include config parts from subdirs for other dbs.
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r-- | src/effectmanager.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp index ad333d1c4..6b5a4617c 100644 --- a/src/effectmanager.cpp +++ b/src/effectmanager.cpp @@ -30,6 +30,8 @@ #include "particle/particle.h" +#include "resources/beingcommon.h" + #include "debug.h" EffectManager::EffectManager() : @@ -38,6 +40,7 @@ EffectManager::EffectManager() : logger->log1("Effects are now loading"); loadXmlFile(paths.getStringValue("effectsFile")); loadXmlFile(paths.getStringValue("effectsPatchFile")); + loadXmlDir("effectsPatchDir", loadXmlFile); } void EffectManager::loadXmlFile(const std::string &fileName) |