diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:16 +0300 |
commit | 05f6f3e94abc5c1e1801d62100cef494e2711474 (patch) | |
tree | d3ee874dd7fa9c6b6170cae8435ea7f18eb1f102 /src/net/tmwa/playerhandler.cpp | |
parent | 11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff) | |
download | plus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.gz plus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.bz2 plus-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.xz plus-05f6f3e94abc5c1e1801d62100cef494e2711474.zip |
Add missing const and static into net classes.
Diffstat (limited to 'src/net/tmwa/playerhandler.cpp')
-rw-r--r-- | src/net/tmwa/playerhandler.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/net/tmwa/playerhandler.cpp b/src/net/tmwa/playerhandler.cpp index 007c29dd6..eea74a2a5 100644 --- a/src/net/tmwa/playerhandler.cpp +++ b/src/net/tmwa/playerhandler.cpp @@ -233,7 +233,7 @@ void PlayerHandler::requestOnlineList() const MessageOut outMsg(CMSG_ONLINE_LIST); } -void PlayerHandler::processOnlineList(Net::MessageIn &msg) const +void PlayerHandler::processOnlineList(Net::MessageIn &msg) { if (!whoIsOnline) return; @@ -309,7 +309,7 @@ void PlayerHandler::updateStatus(const uint8_t status) const outMsg.writeInt8(0); } -void PlayerHandler::processMapMask(Net::MessageIn &msg) const +void PlayerHandler::processMapMask(Net::MessageIn &msg) { const int mask = msg.readInt32(); msg.readInt32(); // unused @@ -318,7 +318,7 @@ void PlayerHandler::processMapMask(Net::MessageIn &msg) const map->setMask(mask); } -void PlayerHandler::processMapMusic(Net::MessageIn &msg) const +void PlayerHandler::processMapMusic(Net::MessageIn &msg) { const int size = msg.readInt16() - 5; const std::string music = msg.readString(size); |