From 64776c1b4c6ccdd3e46897a59c201dd749de9dff Mon Sep 17 00:00:00 2001 From: Yohann Ferreira Date: Tue, 1 Jun 2010 01:20:56 +0200 Subject: Made the MP bar be shown only if the protocol is using it. Reviewed-by: Jaxad0127. --- src/net/tmwa/gamehandler.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/net/tmwa/gamehandler.h') diff --git a/src/net/tmwa/gamehandler.h b/src/net/tmwa/gamehandler.h index ca8d27e6..101e7972 100644 --- a/src/net/tmwa/gamehandler.h +++ b/src/net/tmwa/gamehandler.h @@ -60,6 +60,9 @@ class GameHandler : public MessageHandler, public Net::GameHandler void setMap(const std::string map); + /** The tmwa protocol is making use of the Mp Main status bar. */ + bool canUseMagicBar() const { return true; } + private: std::string mMap; int mCharID; /// < Saved for map-server switching -- cgit v1.2.3-70-g09d2