summaryrefslogtreecommitdiff
path: root/src/net/manaserv/playerhandler.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-07-08 20:42:40 +0300
committerAndrei Karas <akaras@inbox.ru>2011-07-08 20:42:40 +0300
commit1fcd75140b847a0e50584fc07fc47d90c9dd9fa8 (patch)
tree5c1b23c7eabc7d421f46d40ab0bf787ef7dac49b /src/net/manaserv/playerhandler.h
parent53bc0b25c23f8f24d4119ae6fb5ba6ca0a91be19 (diff)
downloadmv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.gz
mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.bz2
mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.tar.xz
mv-1fcd75140b847a0e50584fc07fc47d90c9dd9fa8.zip
Add small optimisations and fixes.
Diffstat (limited to 'src/net/manaserv/playerhandler.h')
-rw-r--r--src/net/manaserv/playerhandler.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h
index 2460877ec..dcd05d5fc 100644
--- a/src/net/manaserv/playerhandler.h
+++ b/src/net/manaserv/playerhandler.h
@@ -70,12 +70,12 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler
void ignorePlayer(const std::string &player, bool ignore);
void ignoreAll(bool ignore);
- bool canUseMagic();
- bool canCorrectAttributes();
+ bool canUseMagic() const;
+ bool canCorrectAttributes() const;
- int getJobLocation();
+ int getJobLocation() const;
- Vector getDefaultWalkSpeed();
+ Vector getDefaultWalkSpeed() const;
private:
void handleMapChangeMessage(Net::MessageIn &msg);