From 4464ef501c562cf6eeda3b59b1dfcf21d9dfb5a9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 19 Feb 2013 03:10:42 +0300 Subject: Add support for away particle effect. --- src/localplayer.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/localplayer.cpp') 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(); } } -- cgit v1.2.3-70-g09d2