summaryrefslogtreecommitdiff
path: root/src/effectmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/effectmanager.cpp')
-rw-r--r--src/effectmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/effectmanager.cpp b/src/effectmanager.cpp
index 38e29c739..e88dc0a74 100644
--- a/src/effectmanager.cpp
+++ b/src/effectmanager.cpp
@@ -182,7 +182,7 @@ bool EffectManager::trigger(const int id, const int x, const int y,
if (effect.id == id)
{
rValue = true;
- if (!effect.gfx.empty() && particleEngine)
+ if (!effect.gfx.empty())
particleEngine->addEffect(effect.gfx, x, y, rotation);
if (!effect.sfx.empty())
soundManager.playSfx(effect.sfx);