summaryrefslogtreecommitdiff
path: root/src/net/ea/playerhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-04-27 19:37:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-04-27 19:37:59 +0300
commit03418ce78766b062ce5af7aaf99f7f2c62152b6b (patch)
treeeb0127126e8d9506ca4aeee639c896bc561fa6ca /src/net/ea/playerhandler.cpp
parentc77f06f7b80a67c842abe837beb2f22e9ecf60cc (diff)
downloadmv-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.gz
mv-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.bz2
mv-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.xz
mv-03418ce78766b062ce5af7aaf99f7f2c62152b6b.zip
Add UpdateStatusListener.
Diffstat (limited to 'src/net/ea/playerhandler.cpp')
-rw-r--r--src/net/ea/playerhandler.cpp6
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")