From 8c0d021d271e713208a40968a7e758a24a034fe8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 6 Jan 2014 23:49:57 +0300 Subject: add ability to include config parts from subdirs for other dbs. --- src/effectmanager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/effectmanager.cpp') 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) -- cgit v1.2.3-70-g09d2