diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-13 18:06:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-13 18:06:59 +0300 |
commit | 71e2ff27012ea70955388cfb7c6c760028711eac (patch) | |
tree | 3549850970318563e1fd369ba825edadb9a0ac53 /src/net/eathena/charserverhandler.cpp | |
parent | 5d92f01a20948ad20868e50a28830186c9cd1546 (diff) | |
download | plus-71e2ff27012ea70955388cfb7c6c760028711eac.tar.gz plus-71e2ff27012ea70955388cfb7c6c760028711eac.tar.bz2 plus-71e2ff27012ea70955388cfb7c6c760028711eac.tar.xz plus-71e2ff27012ea70955388cfb7c6c760028711eac.zip |
Split processCharCreate for each packet type.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 771a9128b..d7d7be582 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -101,7 +101,6 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) break; case SMSG_CHAR_CREATE_SUCCEEDED: - case SMSG_CHAR_CREATE_SUCCEEDED2: processCharCreate(msg); break; @@ -443,7 +442,7 @@ void CharServerHandler::processCharCreate(Net::MessageIn &msg) { BLOCK_START("CharServerHandler::processCharCreate") Net::Character *const character = new Net::Character; - readPlayerData(msg, character, msg.getId() == SMSG_CHAR_CREATE_SUCCEEDED2); + readPlayerData(msg, character, false); mCharacters.push_back(character); updateCharSelectDialog(); |