summaryrefslogtreecommitdiff
path: root/src/net/tmwa/questhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-20 13:11:56 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-20 13:11:56 +0300
commitdc420783ad4ddb176b67754c1298c707ed0cdd26 (patch)
treeb82fa51abafc1c6fd2f50bb3bdc9c38b90e0c974 /src/net/tmwa/questhandler.cpp
parentcedc0666fb1841220d4fc24c8d08cadaf59c230c (diff)
downloadmv-dc420783ad4ddb176b67754c1298c707ed0cdd26.tar.gz
mv-dc420783ad4ddb176b67754c1298c707ed0cdd26.tar.bz2
mv-dc420783ad4ddb176b67754c1298c707ed0cdd26.tar.xz
mv-dc420783ad4ddb176b67754c1298c707ed0cdd26.zip
Fix CMSG to SMSG in some messages.
Diffstat (limited to 'src/net/tmwa/questhandler.cpp')
-rw-r--r--src/net/tmwa/questhandler.cpp8
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;