summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/ea/inventoryhandler.cpp3
-rw-r--r--src/net/ea/playerhandler.cpp6
2 files changed, 4 insertions, 5 deletions
diff --git a/src/net/ea/inventoryhandler.cpp b/src/net/ea/inventoryhandler.cpp
index d1dd5cf7d..1daafc2d5 100644
--- a/src/net/ea/inventoryhandler.cpp
+++ b/src/net/ea/inventoryhandler.cpp
@@ -27,8 +27,6 @@
#include "being/localplayer.h"
-#include "gui/windows/ministatuswindow.h"
-
#include "net/messagein.h"
#include "net/ea/eaprotocol.h"
@@ -36,6 +34,7 @@
#include "utils/delete2.h"
#include "listeners/arrowslistener.h"
+#include "listeners/updatestatuslistener.h"
#include "debug.h"
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")