diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-10-30 20:55:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-10-30 20:55:07 +0300 |
commit | b2a0d0719989384171061edff8d720a9ab33467f (patch) | |
tree | a6c87e6e5f3ea28eeaa174634d631428e089c812 /src/localplayer.cpp | |
parent | 2c3c118c03ece5cad2b73affffbcbbc5a5746c7a (diff) | |
download | manaplus-b2a0d0719989384171061edff8d720a9ab33467f.tar.gz manaplus-b2a0d0719989384171061edff8d720a9ab33467f.tar.bz2 manaplus-b2a0d0719989384171061edff8d720a9ab33467f.tar.xz manaplus-b2a0d0719989384171061edff8d720a9ab33467f.zip |
Remove duplicate getAway function.
Diffstat (limited to 'src/localplayer.cpp')
-rw-r--r-- | src/localplayer.cpp | 2 |
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) |