diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-04-27 19:37:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-04-27 19:37:59 +0300 |
commit | 03418ce78766b062ce5af7aaf99f7f2c62152b6b (patch) | |
tree | eb0127126e8d9506ca4aeee639c896bc561fa6ca /src/net/ea/playerhandler.cpp | |
parent | c77f06f7b80a67c842abe837beb2f22e9ecf60cc (diff) | |
download | manaverse-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.gz manaverse-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.bz2 manaverse-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.xz manaverse-03418ce78766b062ce5af7aaf99f7f2c62152b6b.zip |
Add UpdateStatusListener.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r-- | src/net/ea/playerhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/ea/playerhandler.cpp b/src/net/ea/playerhandler.cpp index de376cead..475df2db0 100644 --- a/src/net/ea/playerhandler.cpp +++ b/src/net/ea/playerhandler.cpp @@ -33,7 +33,6 @@ #include "gui/viewport.h" -#include "gui/windows/ministatuswindow.h" #include "gui/windows/okdialog.h" #include "gui/windows/npcdialog.h" #include "gui/windows/skilldialog.h" @@ -41,6 +40,8 @@ #include "resources/db/deaddb.h" +#include "listeners/updatestatuslistener.h" + #include "net/messagein.h" #include "net/net.h" @@ -210,8 +211,7 @@ void PlayerHandler::processPlayerWarp(Net::MessageIn &msg) if (viewport) { viewport->returnCamera(); - if (miniStatusWindow) - miniStatusWindow->updateStatus(); + UpdateStatusListener::distributeEvent(); viewport->scrollBy(scrollOffsetX, scrollOffsetY); } BLOCK_END("PlayerHandler::processPlayerWarp") |