summaryrefslogtreecommitdiff
path: root/src/actionmanager.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/actionmanager.cpp
parentc77f06f7b80a67c842abe837beb2f22e9ecf60cc (diff)
downloadmanaplus-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.gz
manaplus-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.bz2
manaplus-03418ce78766b062ce5af7aaf99f7f2c62152b6b.tar.xz
manaplus-03418ce78766b062ce5af7aaf99f7f2c62152b6b.zip
Add UpdateStatusListener.
Diffstat (limited to 'src/actionmanager.cpp')
-rw-r--r--src/actionmanager.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/actionmanager.cpp b/src/actionmanager.cpp
index 381244799..464403eb2 100644
--- a/src/actionmanager.cpp
+++ b/src/actionmanager.cpp
@@ -54,7 +54,6 @@
#include "gui/windows/inventorywindow.h"
#include "gui/windows/killstats.h"
#include "gui/windows/minimap.h"
-#include "gui/windows/ministatuswindow.h"
#include "gui/windows/npcdialog.h"
#include "gui/windows/outfitwindow.h"
#include "gui/windows/setupwindow.h"
@@ -69,6 +68,8 @@
#include "net/playerhandler.h"
#include "net/tradehandler.h"
+#include "listeners/updatestatuslistener.h"
+
#include "utils/gettext.h"
#ifdef ANDROID
@@ -863,8 +864,7 @@ impHandler0(changeMapMode)
{
if (viewport)
viewport->toggleDebugPath();
- if (miniStatusWindow)
- miniStatusWindow->updateStatus();
+ UpdateStatusListener::distributeEvent();
if (Game::instance())
{
if (Map *const map = Game::instance()->getCurrentMap())