summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp3
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)