diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-20 13:11:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-20 13:11:56 +0300 |
commit | dc420783ad4ddb176b67754c1298c707ed0cdd26 (patch) | |
tree | b82fa51abafc1c6fd2f50bb3bdc9c38b90e0c974 /src/net/tmwa/questhandler.cpp | |
parent | cedc0666fb1841220d4fc24c8d08cadaf59c230c (diff) | |
download | plus-dc420783ad4ddb176b67754c1298c707ed0cdd26.tar.gz plus-dc420783ad4ddb176b67754c1298c707ed0cdd26.tar.bz2 plus-dc420783ad4ddb176b67754c1298c707ed0cdd26.tar.xz plus-dc420783ad4ddb176b67754c1298c707ed0cdd26.zip |
Fix CMSG to SMSG in some messages.
Diffstat (limited to 'src/net/tmwa/questhandler.cpp')
-rw-r--r-- | src/net/tmwa/questhandler.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/net/tmwa/questhandler.cpp b/src/net/tmwa/questhandler.cpp index 1a64e95f7..29aafd761 100644 --- a/src/net/tmwa/questhandler.cpp +++ b/src/net/tmwa/questhandler.cpp @@ -43,8 +43,8 @@ QuestHandler::QuestHandler() : { static const uint16_t _messages[] = { - CMSG_QUEST_SET_VAR, - CMSG_QUEST_PLAYER_VARS, + SMSG_QUEST_SET_VAR, + SMSG_QUEST_PLAYER_VARS, 0 }; handledMessages = _messages; @@ -56,11 +56,11 @@ void QuestHandler::handleMessage(Net::MessageIn &msg) BLOCK_START("QuestHandler::handleMessage") switch (msg.getId()) { - case CMSG_QUEST_SET_VAR: + case SMSG_QUEST_SET_VAR: processSetQuestVar(msg); break; - case CMSG_QUEST_PLAYER_VARS: + case SMSG_QUEST_PLAYER_VARS: processPlayerQuests(msg); break; |