diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-07-09 00:05:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-07-09 00:05:18 +0300 |
commit | 3f31d4f379f2baa5ae98f3a5f551307735820fa3 (patch) | |
tree | 280bb5cf26dcfa04dc7bb21ebdcf5b6f9816ad0b /src/localplayer.cpp | |
parent | 0cb852ac8e4a977d8ca74c2ae895ab132436754a (diff) | |
download | plus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.gz plus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.bz2 plus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.tar.xz plus-3f31d4f379f2baa5ae98f3a5f551307735820fa3.zip |
Fix updating local player status.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp index 861bfb642..95f2dc83d 100644 --- a/src/localplayer.cpp +++ b/src/localplayer.cpp @@ -113,7 +113,6 @@ LocalPlayer::LocalPlayer(int id, int subtype): mAwayDialog(0), mAfkTime(0), mAwayMode(false), - mHalfAwayMode(false), mShowNavigePath(false), mDrawPath(false), mActivityTime(0), @@ -351,7 +350,7 @@ void LocalPlayer::logic() if (mAwayMode) smile += FLAG_AWAY; - if (mHalfAwayMode) + if (mInactive) smile += FLAG_INACTIVE; if (emote(smile)) @@ -3160,7 +3159,8 @@ void LocalPlayer::changeAwayMode() { mAwayMode = !mAwayMode; mAfkTime = 0; - mHalfAwayMode = false; + mInactive = false; + updateName(); if (miniStatusWindow) miniStatusWindow->updateStatus(); if (mAwayMode) |