diff options
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) { |