summaryrefslogtreecommitdiff
path: root/src/net/tmwa/questhandler.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/questhandler.cpp
parent11caa7aeeb3a7b40823da8573576d2354b7504b5 (diff)
downloadplus-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/questhandler.cpp')
-rw-r--r--src/net/tmwa/questhandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp
index 328a379dc..73ba770ea 100644
--- a/src/net/tmwa/questhandler.cpp
+++ b/src/net/tmwa/questhandler.cpp
@@ -61,7 +61,7 @@ void QuestHandler::handleMessage(Net::MessageIn &msg)
BLOCK_END("QuestHandler::handleMessage")
}
-void QuestHandler::processSetQuestVar(Net::MessageIn &msg) const
+void QuestHandler::processSetQuestVar(Net::MessageIn &msg)
{
const int var = msg.readInt16(); // variable
const int val = msg.readInt32(); // value
@@ -77,7 +77,7 @@ void QuestHandler::processSetQuestVar(Net::MessageIn &msg) const
}
}
-void QuestHandler::processPlayerQuests(Net::MessageIn &msg) const
+void QuestHandler::processPlayerQuests(Net::MessageIn &msg)
{
const int count = (msg.readInt16() - 4) / 6;
for (int f = 0; f < count; f ++)