summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-02-19 03:10:42 +0300
committerAndrei Karas <akaras@inbox.ru>2013-02-19 13:17:00 +0300
commit4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9 (patch)
tree1eab9247b1b58d448d64e25f6906447dfba53bd4 /src/localplayer.cpp
parent2a09c2afe8bd1f476ef1901c9c639896534a081c (diff)
downloadplus-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.tar.gz
plus-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.tar.bz2
plus-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.tar.xz
plus-4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9.zip
Add support for away particle effect.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 003bf4133..b4c31b33a 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -2220,6 +2220,7 @@ void LocalPlayer::changeAwayMode()
DIALOG_SILENCE, true, false);
mAwayDialog->addActionListener(mAwayListener);
sound.volumeOff();
+ addAfkEffect();
}
else
{
@@ -2230,6 +2231,7 @@ void LocalPlayer::changeAwayMode()
chatWindow->displayAwayLog();
chatWindow->clearAwayLog();
}
+ removeAfkEffect();
}
}