diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-07-24 14:19:21 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-07-24 14:19:21 -0600 |
commit | ea6f492198a03cffc3be47df000fa16dfc3b262f (patch) | |
tree | 01ba3216ecbfa0bf1520211a940d689a8874baba /src/net/tmwserv | |
parent | 6f9ca0023ce77eb74d199a3c2e04e7d2b9d07494 (diff) | |
download | mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.tar.gz mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.tar.bz2 mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.tar.xz mana-ea6f492198a03cffc3be47df000fa16dfc3b262f.zip |
Remove an ifdef in StatusWindow and update MP more
Also make MiniStatus only update the bars when needed (called by
StatusWindow).
Diffstat (limited to 'src/net/tmwserv')
-rw-r--r-- | src/net/tmwserv/playerhandler.cpp | 5 | ||||
-rw-r--r-- | src/net/tmwserv/playerhandler.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/tmwserv/playerhandler.cpp b/src/net/tmwserv/playerhandler.cpp index 91b6dd8a..656befdf 100644 --- a/src/net/tmwserv/playerhandler.cpp +++ b/src/net/tmwserv/playerhandler.cpp @@ -390,4 +390,9 @@ void PlayerHandler::ignoreAll(bool ignore) // TODO } +bool PlayerHandler::canUseMagic() +{ + return true; +} + } // namespace TmwServ diff --git a/src/net/tmwserv/playerhandler.h b/src/net/tmwserv/playerhandler.h index 1c94b4e4..287baa3d 100644 --- a/src/net/tmwserv/playerhandler.h +++ b/src/net/tmwserv/playerhandler.h @@ -58,6 +58,8 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler void ignoreAll(bool ignore); + bool canUseMagic(); + private: void handleMapChangeMessage(MessageIn &msg); }; |