diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-08-30 01:11:55 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-08-30 16:37:02 +0300 |
commit | 509c746b147458bcc94c2d66932b5bb89175c732 (patch) | |
tree | 4125913e5d96a1c0c8bb2ae6e5c5ea83d3677d8f /src/net/ea/charserverhandler.cpp | |
parent | a39600b2ec8c71c74f2dad3569aba0fc0e8a9be4 (diff) | |
download | manaplus-509c746b147458bcc94c2d66932b5bb89175c732.tar.gz manaplus-509c746b147458bcc94c2d66932b5bb89175c732.tar.bz2 manaplus-509c746b147458bcc94c2d66932b5bb89175c732.tar.xz manaplus-509c746b147458bcc94c2d66932b5bb89175c732.zip |
Remove additional parameters from processCharCreate function.
Diffstat (limited to 'src/net/ea/charserverhandler.cpp')
-rw-r--r-- | src/net/ea/charserverhandler.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp index fa044e83a..9b747ed49 100644 --- a/src/net/ea/charserverhandler.cpp +++ b/src/net/ea/charserverhandler.cpp @@ -146,12 +146,11 @@ void CharServerHandler::processCharLoginError(Net::MessageIn &msg) const BLOCK_END("CharServerHandler::processCharLoginError") } -void CharServerHandler::processCharCreate(Net::MessageIn &msg, - const bool withColors) +void CharServerHandler::processCharCreate(Net::MessageIn &msg) { BLOCK_START("CharServerHandler::processCharCreate") Net::Character *const character = new Net::Character; - readPlayerData(msg, character, withColors); + readPlayerData(msg, character, msg.getId() == SMSG_CHAR_CREATE_SUCCEEDED2); mCharacters.push_back(character); updateCharSelectDialog(); |