diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-03-07 17:46:31 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-03-07 17:46:31 +0300 |
commit | a80e10b7ba9771dca3fcddb3f0182a5aa1825226 (patch) | |
tree | 85f7ad40f3bc0d030e2dab57cb2af65dfa04cf33 /src/client.cpp | |
parent | f8fcfcfef1e5a8cbda66328664f41b3f9aa2a773 (diff) | |
download | manaplus-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.tar.gz manaplus-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.tar.bz2 manaplus-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.tar.xz manaplus-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.zip |
Fix server switch incorrect map loading.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client.cpp b/src/client.cpp index ef4c2fd53..9346a30b6 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1619,6 +1619,7 @@ int Client::gameExec() Net::getLoginHandler()->disconnect(); Net::getGameHandler()->disconnect(); + Net::getGameHandler()->clear(); mState = STATE_CHOOSE_SERVER; BLOCK_END("Client::gameExec STATE_SWITCH_SERVER") |