summaryrefslogtreecommitdiff
path: root/src/net/tmwa/questhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-04-10 18:56:40 +0300
committerAndrei Karas <akaras@inbox.ru>2013-04-10 18:56:40 +0300
commitb748c8947e6225376e77b09f4c7c335985d934ef (patch)
treeed23bfbad8b9344d54c7c738a49d5ea49afa3598 /src/net/tmwa/questhandler.cpp
parent919d790980be710ec991af3654521225e97b5f79 (diff)
downloadplus-b748c8947e6225376e77b09f4c7c335985d934ef.tar.gz
plus-b748c8947e6225376e77b09f4c7c335985d934ef.tar.bz2
plus-b748c8947e6225376e77b09f4c7c335985d934ef.tar.xz
plus-b748c8947e6225376e77b09f4c7c335985d934ef.zip
improve questhandler class.
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 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 ++)