summaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-10-30 20:55:07 +0300
committerAndrei Karas <akaras@inbox.ru>2011-10-30 20:55:07 +0300
commitb2a0d0719989384171061edff8d720a9ab33467f (patch)
treea6c87e6e5f3ea28eeaa174634d631428e089c812 /src/localplayer.cpp
parent2c3c118c03ece5cad2b73affffbcbbc5a5746c7a (diff)
downloadManaVerse-b2a0d0719989384171061edff8d720a9ab33467f.tar.gz
ManaVerse-b2a0d0719989384171061edff8d720a9ab33467f.tar.bz2
ManaVerse-b2a0d0719989384171061edff8d720a9ab33467f.tar.xz
ManaVerse-b2a0d0719989384171061edff8d720a9ab33467f.zip
Remove duplicate getAway function.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r--src/localplayer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/localplayer.cpp b/src/localplayer.cpp
index 58edbfd78..7fc1d8c7d 100644
--- a/src/localplayer.cpp
+++ b/src/localplayer.cpp
@@ -3930,7 +3930,7 @@ void LocalPlayer::stopAdvert()
void AwayListener::action(const gcn::ActionEvent &event)
{
- if (event.getId() == "ok" && player_node && player_node->getAwayMode())
+ if (event.getId() == "ok" && player_node && player_node->getAway())
{
player_node->changeAwayMode();
if (outfitWindow)