summaryrefslogtreecommitdiff
path: root/src/net/tmwa/beinghandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:16 +0300
committerAndrei Karas <akaras@inbox.ru>2014-02-02 12:47:16 +0300
commit05f6f3e94abc5c1e1801d62100cef494e2711474 (patch)
treed3ee874dd7fa9c6b6170cae8435ea7f18eb1f102 /src/net/tmwa/beinghandler.cpp
parent11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff)
downloadmv-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.gz
mv-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.bz2
mv-05f6f3e94abc5c1e1801d62100cef494e2711474.tar.xz
mv-05f6f3e94abc5c1e1801d62100cef494e2711474.zip
Add missing const and static into net classes.
Diffstat (limited to 'src/net/tmwa/beinghandler.cpp')
-rw-r--r--src/net/tmwa/beinghandler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/tmwa/beinghandler.cpp b/src/net/tmwa/beinghandler.cpp
index 043321cd5..76efd958e 100644
--- a/src/net/tmwa/beinghandler.cpp
+++ b/src/net/tmwa/beinghandler.cpp
@@ -389,12 +389,11 @@ void BeingHandler::processBeingChangeLook(Net::MessageIn &msg,
}
}
-void BeingHandler::processNameResponse2(Net::MessageIn &msg) const
+void BeingHandler::processNameResponse2(Net::MessageIn &msg)
{
if (!actorManager || !player_node)
return;
-
const int len = msg.readInt16();
const int beingId = msg.readInt32();
const std::string str = msg.readString(len - 8);
@@ -653,7 +652,7 @@ void BeingHandler::processPlayerMoveUpdate(Net::MessageIn &msg,
dstBeing->setMoveTime();
}
-void BeingHandler::processBeingMove3(Net::MessageIn &msg) const
+void BeingHandler::processBeingMove3(Net::MessageIn &msg)
{
if (serverVersion < 10)
return;