summaryrefslogtreecommitdiff
path: root/src/net/manaserv/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/manaserv/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/manaserv/gamehandler.h')
-rw-r--r--src/net/manaserv/gamehandler.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/net/manaserv/gamehandler.h b/src/net/manaserv/gamehandler.h
index dde1748f..912b308e 100644
--- a/src/net/manaserv/gamehandler.h
+++ b/src/net/manaserv/gamehandler.h
@@ -53,12 +53,16 @@ class GameHandler : public MessageHandler, public Net::GameHandler
void quit() { quit(false); }
void ping(int tick);
-
+
bool removeDeadBeings() const { return false; }
void clear();
void gameLoading();
+
+ /** The ManaServ protocol doesn't use the Mp Main status bar. */
+ bool canUseMagicBar() const { return false; }
+
};
} // namespace ManaServ