diff options
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") |