summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/tmwa/protocol.h4
-rw-r--r--src/net/tmwa/questhandler.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/src/net/tmwa/protocol.h b/src/net/tmwa/protocol.h
index b0a967271..7464cc877 100644
--- a/src/net/tmwa/protocol.h
+++ b/src/net/tmwa/protocol.h
@@ -343,8 +343,8 @@ enum
#define SMSG_ONLINE_LIST 0x0211
#define SMSG_NPC_COMMAND 0x0212
#define CMSG_SET_STATUS 0x0213
-#define CMSG_QUEST_SET_VAR 0x0214
-#define CMSG_QUEST_PLAYER_VARS 0x0215
+#define SMSG_QUEST_SET_VAR 0x0214
+#define SMSG_QUEST_PLAYER_VARS 0x0215
#define CMSG_SEND_CLIENT_INFO 0x7533
#define SMSG_UPDATE_HOST2 0x7534
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;