summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-04-15 12:53:52 +0300
committerAndrei Karas <akaras@inbox.ru>2015-04-15 12:53:52 +0300
commit68dfa81376382b4bdc8407e5334ab1787dc39c3f (patch)
tree06f088416055c33dc31061d9ffacec82df4df884 /src/client.cpp
parent336ec8a82855858701647c809d7214dece69dd87 (diff)
downloadmv-68dfa81376382b4bdc8407e5334ab1787dc39c3f.tar.gz
mv-68dfa81376382b4bdc8407e5334ab1787dc39c3f.tar.bz2
mv-68dfa81376382b4bdc8407e5334ab1787dc39c3f.tar.xz
mv-68dfa81376382b4bdc8407e5334ab1787dc39c3f.zip
fix missing characters in list after password change selection.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ec05a7460..8ab79ae25 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -611,6 +611,9 @@ void Client::gameClear()
if (chatHandler)
chatHandler->clear();
+ if (charServerHandler)
+ charServerHandler->clear();
+
delete2(ipc);
#ifdef USE_MUMBLE
@@ -959,6 +962,11 @@ int Client::gameExec()
if (!settings.options.skipUpdate)
UpdaterWindow::unloadMods(settings.oldUpdates + "/fix/");
}
+ else if (mOldState == STATE_CHAR_SELECT)
+ {
+ if (mState != STATE_CHANGEPASSWORD)
+ charServerHandler->clear();
+ }
mOldState = mState;