From 3f31d4f379f2baa5ae98f3a5f551307735820fa3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Jul 2011 00:05:18 +0300 Subject: Fix updating local player status. --- src/localplayer.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/localplayer.cpp') 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) -- cgit v1.2.3-70-g09d2