summaryrefslogtreecommitdiff
path: root/src/net/tmwa/gamehandler.h
diff options
context:
space:
mode:
authorYohann Ferreira <yohann_dot_ferreira_at_orange_dot_fr>2010-06-01 01:20:56 +0200
committerYohann Ferreira <yohann_dot_ferreira_at_orange_dot_fr>2010-06-01 01:31:32 +0200
commit64776c1b4c6ccdd3e46897a59c201dd749de9dff (patch)
tree45ea4c97b4acc9d1dd9819408659aa1e5a3a336b /src/net/tmwa/gamehandler.h
parent34e7725106500af8f4ed4f148e60005b9738c04a (diff)
downloadmana-64776c1b4c6ccdd3e46897a59c201dd749de9dff.tar.gz
mana-64776c1b4c6ccdd3e46897a59c201dd749de9dff.tar.bz2
mana-64776c1b4c6ccdd3e46897a59c201dd749de9dff.tar.xz
mana-64776c1b4c6ccdd3e46897a59c201dd749de9dff.zip
Made the MP bar be shown only if the protocol is using it.
Reviewed-by: Jaxad0127.
Diffstat (limited to 'src/net/tmwa/gamehandler.h')
-rw-r--r--src/net/tmwa/gamehandler.h3
1 files changed, 3 insertions, 0 deletions
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