From b748c8947e6225376e77b09f4c7c335985d934ef Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Apr 2013 18:56:40 +0300 Subject: improve questhandler class. --- 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 29aafd761..9789c2eb4 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -70,7 +70,7 @@ void QuestHandler::handleMessage(Net::MessageIn &msg) BLOCK_END("QuestHandler::handleMessage") } -void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) +void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) const { const int var = msg.readInt16(); // variable const int val = msg.readInt32(); // value @@ -86,7 +86,7 @@ void QuestHandler::processSetQuestVar(Net::MessageIn &msg A_UNUSED) } } -void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED) +void QuestHandler::processPlayerQuests(Net::MessageIn &msg A_UNUSED) const { const int count = (msg.readInt16() - 4) / 6; for (int f = 0; f < count; f ++) -- cgit v1.2.3-70-g09d2