diff options
Diffstat (limited to 'src/being/localplayer.cpp')
-rw-r--r-- | src/being/localplayer.cpp | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/src/being/localplayer.cpp b/src/being/localplayer.cpp index b64c494b7..37a960dae 100644 --- a/src/being/localplayer.cpp +++ b/src/being/localplayer.cpp @@ -73,6 +73,7 @@ #include "resources/map/mapitem.h" #include "resources/map/speciallayer.h" +#include "listeners/awaylistener.h" #include "listeners/updatestatuslistener.h" #include "utils/delete2.h" @@ -3813,15 +3814,3 @@ void LocalPlayer::setTestParticle(const std::string &fileName, mTestParticleHash = UpdaterWindow::getFileHash(mTestParticleName); } } - -void AwayListener::action(const ActionEvent &event) -{ - if (event.getId() == "ok" && player_node && player_node->getAway()) - { - player_node->changeAwayMode(); - player_node->updateStatus(); - if (outfitWindow) - outfitWindow->unwearAwayOutfit(); - UpdateStatusListener::distributeEvent(); - } -} |