Fix opened channels saving

This commit is contained in:
Eduardo Bart
2012-07-31 00:53:15 -03:00
parent fbb3c9933a
commit 49a8c750f9
2 changed files with 26 additions and 33 deletions

View File

@@ -437,7 +437,7 @@ void Game::loginWorld(const std::string& account, const std::string& password, c
resetGameStates();
m_localPlayer = LocalPlayerPtr(new LocalPlayer);
m_localPlayer->setName(m_characterName);
m_localPlayer->setName(characterName);
m_protocolGame = ProtocolGamePtr(new ProtocolGame);
m_protocolGame->login(account, password, worldHost, (uint16)worldPort, characterName);