summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-07 17:46:31 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-07 17:46:31 +0300
commita80e10b7ba9771dca3fcddb3f0182a5aa1825226 (patch)
tree85f7ad40f3bc0d030e2dab57cb2af65dfa04cf33 /src/client.cpp
parentf8fcfcfef1e5a8cbda66328664f41b3f9aa2a773 (diff)
downloadmanaverse-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.tar.gz
manaverse-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.tar.bz2
manaverse-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.tar.xz
manaverse-a80e10b7ba9771dca3fcddb3f0182a5aa1825226.zip
Fix server switch incorrect map loading.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp1
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")