summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/being.cpp2
-rw-r--r--src/localplayer.cpp4
2 files changed, 4 insertions, 2 deletions
diff --git a/src/being.cpp b/src/being.cpp
index 68b1a791..a9f5c973 100644
--- a/src/being.cpp
+++ b/src/being.cpp
@@ -458,8 +458,6 @@ Being::handleStatusEffect(StatusEffect *effect, int effectId)
if (!effect)
return;
- effect->playSFX();
-
SpriteAction action = effect->getAction();
if (action != ACTION_INVALID)
setAction(action);
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 910de119..044f62bf 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -495,8 +495,12 @@ extern MiniStatusWindow *miniStatusWindow;
void LocalPlayer::handleStatusEffect(StatusEffect *effect, int effectId)
{
Being::handleStatusEffect(effect, effectId);
+
+
+
if (effect) {
effect->deliverMessage();
+ effect->playSFX();
AnimatedSprite *sprite = effect->getIcon();