summaryrefslogtreecommitdiff
path: root/src/gui/statuswindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/statuswindow.cpp')
-rw-r--r--src/gui/statuswindow.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/statuswindow.cpp b/src/gui/statuswindow.cpp
index 310e6b9b..ebd54f33 100644
--- a/src/gui/statuswindow.cpp
+++ b/src/gui/statuswindow.cpp
@@ -39,6 +39,8 @@
#include "net/playerhandler.h"
#include "net/gamehandler.h"
+#include "net/tmwa/protocol.h"
+
#include "resources/theme.h"
#include "utils/gettext.h"
@@ -288,6 +290,12 @@ void StatusWindow::event(Event::Channel channel,
{
it->second->update();
}
+
+ if (Net::getNetworkType() == ServerInfo::TMWATHENA &&
+ id == TmwAthena::MATK)
+ {
+ updateMPBar(mMpBar, true);
+ }
}
}
}