diff options
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r-- | src/net/ea/charserverhandler.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index 36ac3d012..15bcb135a 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -142,24 +142,6 @@ void CharServerHandler::processCharLoginError(Net::MessageIn &msg) const BLOCK_END("CharServerHandler::processCharLoginError") } -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); - mCharacters.push_back(character); - - updateCharSelectDialog(); - - // Close the character create dialog - if (mCharCreateDialog) - { - mCharCreateDialog->scheduleDelete(); - mCharCreateDialog = nullptr; - } - BLOCK_END("CharServerHandler::processCharCreate") -} - void CharServerHandler::processCharCreateFailed(Net::MessageIn &msg) { BLOCK_START("CharServerHandler::processCharCreateFailed") |