From 3a320dc5d0cff4e3583e6c5ebe72c84e47034c69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Sep 2014 00:25:59 +0300 Subject: eathena: rename SMSG_MAP_CHAR_ID to SMSG_MAP_ACCOUNT_ID. --- src/net/eathena/gamehandler.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/net/eathena/gamehandler.cpp') diff --git a/src/net/eathena/gamehandler.cpp b/src/net/eathena/gamehandler.cpp index 54c64d995..31c883158 100644 --- a/src/net/eathena/gamehandler.cpp +++ b/src/net/eathena/gamehandler.cpp @@ -53,7 +53,7 @@ GameHandler::GameHandler() : SMSG_WHO_ANSWER, SMSG_CHAR_SWITCH_RESPONSE, SMSG_MAP_QUIT_RESPONSE, - SMSG_MAP_CHAR_ID, + SMSG_MAP_ACCOUNT_ID, 0 }; handledMessages = _messages; @@ -85,8 +85,8 @@ void GameHandler::handleMessage(Net::MessageIn &msg) processMapQuitResponse(msg); break; - case SMSG_MAP_CHAR_ID: - processMapCharId(msg); + case SMSG_MAP_ACCOUNT_ID: + processMapAccountId(msg); break; default: @@ -171,9 +171,9 @@ void GameHandler::disconnect2() const MessageOut outMsg(CMSG_CLIENT_DISCONNECT); } -void GameHandler::processMapCharId(Net::MessageIn &msg) +void GameHandler::processMapAccountId(Net::MessageIn &msg) { - msg.readInt32(); // char id + msg.readInt32("account id"); } } // namespace EAthena -- cgit v1.2.3-60-g2f50