summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-13 18:06:59 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-13 18:06:59 +0300
commit71e2ff27012ea70955388cfb7c6c760028711eac (patch)
tree3549850970318563e1fd369ba825edadb9a0ac53 /src/net/eathena
parent5d92f01a20948ad20868e50a28830186c9cd1546 (diff)
downloadplus-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')
-rw-r--r--src/net/eathena/charserverhandler.cpp3
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();