summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorFate <fate-tmw@googlemail.com>2008-12-09 09:52:23 -0700
committerFate <fate-tmw@googlemail.com>2008-12-09 09:52:23 -0700
commitf68e18efa64bdb9a67f7ce05b5868f450b9af2e0 (patch)
tree8f795a2f21cdf39dce7cc635612b2706b0339cf0 /src/localplayer.cpp
parent5de95ae6a741ac8549a9e51be4a3872e91764d24 (diff)
downloadmana-client-f68e18efa64bdb9a67f7ce05b5868f450b9af2e0.tar.gz
mana-client-f68e18efa64bdb9a67f7ce05b5868f450b9af2e0.tar.bz2
mana-client-f68e18efa64bdb9a67f7ce05b5868f450b9af2e0.tar.xz
mana-client-f68e18efa64bdb9a67f7ce05b5868f450b9af2e0.zip
Only play status effect sound effects for localplayer
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp4
1 files changed, 4 insertions, 0 deletions
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();