summaryrefslogtreecommitdiff
path: root/src/net/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/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/gamehandler.h')
-rw-r--r--src/net/gamehandler.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/gamehandler.h b/src/net/gamehandler.h
index 774de16c..8d29a55b 100644
--- a/src/net/gamehandler.h
+++ b/src/net/gamehandler.h
@@ -49,6 +49,11 @@ class GameHandler
virtual bool removeDeadBeings() const = 0;
+ /**
+ * Tells whether the protocol is using the MP statu bar
+ */
+ virtual bool canUseMagicBar() const = 0;
+
virtual ~GameHandler() {}
};