diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-20 17:56:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-20 17:58:36 +0300 |
commit | 4edf9cac82776c5333afaa647f7a982383837406 (patch) | |
tree | 8a70af55c3a7417d25c4be0bdbb422dae38edefb /src/net/tmwa/charserverhandler.cpp | |
parent | 2cd8b88679b9dd99e50bdc5ca03ba5694a0198a8 (diff) | |
download | manaplus-4edf9cac82776c5333afaa647f7a982383837406.tar.gz manaplus-4edf9cac82776c5333afaa647f7a982383837406.tar.bz2 manaplus-4edf9cac82776c5333afaa647f7a982383837406.tar.xz manaplus-4edf9cac82776c5333afaa647f7a982383837406.zip |
Remove unused old evol packets from tmwa namespace.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 959e51289..218f30333 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -71,7 +71,6 @@ CharServerHandler::CharServerHandler() : SMSG_CHAR_LOGIN, SMSG_CHAR_LOGIN_ERROR, SMSG_CHAR_CREATE_SUCCEEDED, - SMSG_CHAR_CREATE_SUCCEEDED2, SMSG_CHAR_CREATE_FAILED, SMSG_CHAR_DELETE_SUCCEEDED, SMSG_CHAR_DELETE_FAILED, @@ -100,10 +99,6 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) processCharCreate(msg); break; - case SMSG_CHAR_CREATE_SUCCEEDED2: - processCharCreate2(msg); - break; - case SMSG_CHAR_CREATE_FAILED: processCharCreateFailed(msg); break; @@ -493,24 +488,6 @@ void CharServerHandler::processCharCreate(Net::MessageIn &msg) BLOCK_END("CharServerHandler::processCharCreate") } -void CharServerHandler::processCharCreate2(Net::MessageIn &msg) -{ - BLOCK_START("CharServerHandler::processCharCreate2") - Net::Character *const character = new Net::Character; - charServerHandler->readPlayerData(msg, character, true); - mCharacters.push_back(character); - - updateCharSelectDialog(); - - // Close the character create dialog - if (mCharCreateDialog) - { - mCharCreateDialog->scheduleDelete(); - mCharCreateDialog = nullptr; - } - BLOCK_END("CharServerHandler::processCharCreate2") -} - void CharServerHandler::renameCharacter(const BeingId id A_UNUSED, const std::string &newName A_UNUSED) { |