diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-22 00:38:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-22 00:38:26 +0300 |
commit | 972bbd781838c9150f87aad7c96c6bbd74a68e06 (patch) | |
tree | cc839b1ca698ec32c0dd3fc7c8d8e0ba09e8e923 /src/net/eathena/charserverhandler.cpp | |
parent | f6f2a8072c517ee47e77979db9dbb9ecb3430cb5 (diff) | |
download | manaplus-972bbd781838c9150f87aad7c96c6bbd74a68e06.tar.gz manaplus-972bbd781838c9150f87aad7c96c6bbd74a68e06.tar.bz2 manaplus-972bbd781838c9150f87aad7c96c6bbd74a68e06.tar.xz manaplus-972bbd781838c9150f87aad7c96c6bbd74a68e06.zip |
Fix change password issue with empty players list.
Diffstat (limited to 'src/net/eathena/charserverhandler.cpp')
-rw-r--r-- | src/net/eathena/charserverhandler.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/net/eathena/charserverhandler.cpp b/src/net/eathena/charserverhandler.cpp index 2bb7e8890..474874483 100644 --- a/src/net/eathena/charserverhandler.cpp +++ b/src/net/eathena/charserverhandler.cpp @@ -127,8 +127,7 @@ void CharServerHandler::handleMessage(Net::MessageIn &msg) mSelectedCharacter->dummy = nullptr; - delete_all(mCharacters); - mCharacters.clear(); + Net::getCharHandler()->clear(); updateCharSelectDialog(); if (mNetwork) |