From 05f6f3e94abc5c1e1801d62100cef494e2711474 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 2 Feb 2014 12:47:16 +0300 Subject: Add missing const and static into net classes. --- src/net/tmwa/questhandler.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/questhandler.cpp') 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 ++) -- cgit v1.2.3-70-g09d2