summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-04-18 22:33:28 +0300
committerAndrei Karas <akaras@inbox.ru>2011-04-18 22:33:28 +0300
commit71ba93abb9436eabc9fed8e4e49ab5cdee47bb38 (patch)
tree87f9fc99f15d84a8a63b3fbc68950650f9ebc0ed /src/localplayer.cpp
parentbc39b3c006145c6db41e7fcfac9da512944774f3 (diff)
downloadmanaverse-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.tar.gz
manaverse-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.tar.bz2
manaverse-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.tar.xz
manaverse-71ba93abb9436eabc9fed8e4e49ab5cdee47bb38.zip
Impliment away log in away mode.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 2718b9fe0..ac113a54a 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -3092,6 +3092,9 @@ void LocalPlayer::changeAwayMode()
miniStatusWindow->updateStatus();
if (mAwayMode)
{
+ if (chatWindow)
+ chatWindow->clearAwayLog();
+
cancelFollow();
naviageClean();
if (outfitWindow)
@@ -3105,6 +3108,11 @@ void LocalPlayer::changeAwayMode()
{
mAwayDialog = 0;
sound.volumeRestore();
+ if (chatWindow)
+ {
+ chatWindow->displayAwayLog();
+ chatWindow->clearAwayLog();
+ }
}
}