diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-04-10 18:56:40 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-04-10 18:56:40 +0300 |
commit | b748c8947e6225376e77b09f4c7c335985d934ef (patch) | |
tree | ed23bfbad8b9344d54c7c738a49d5ea49afa3598 /src/net/tmwa/questhandler.cpp | |
parent | 919d790980be710ec991af3654521225e97b5f79 (diff) | |
download | manaplus-b748c8947e6225376e77b09f4c7c335985d934ef.tar.gz manaplus-b748c8947e6225376e77b09f4c7c335985d934ef.tar.bz2 manaplus-b748c8947e6225376e77b09f4c7c335985d934ef.tar.xz manaplus-b748c8947e6225376e77b09f4c7c335985d934ef.zip |
improve questhandler class.
Diffstat (limited to 'src/net/tmwa/questhandler.cpp')
-rw-r--r-- | src/net/tmwa/questhandler.cpp | 4 |
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 ++) |