Merge with develop

This commit is contained in:
kervala 2016-05-05 17:57:47 +02:00
parent 3530beb7fe
commit 43db9313f8

View file

@ -602,7 +602,7 @@ void CLoginStateMachine::run()
break; break;
case st_disconnect: case st_disconnect:
// Far TP part 2: disconnect from the FS and unload shard-specific data (called from farTPmainLoop()) // Far TP part 2: disconnect from the FS and unload shard-specific data (called from farTPmainLoop())
FarTP.disconnectFromPreviousShard(); // FarTP.disconnectFromPreviousShard();
SM_BEGIN_EVENT_TABLE SM_BEGIN_EVENT_TABLE
SM_EVENT(ev_connect, st_reconnect_fs); SM_EVENT(ev_connect, st_reconnect_fs);
@ -1439,6 +1439,9 @@ void CFarTP::farTPmainLoop()
{ {
ConnectionReadySent = false; ConnectionReadySent = false;
LoginSM.pushEvent(CLoginStateMachine::ev_far_tp_main_loop_entered); LoginSM.pushEvent(CLoginStateMachine::ev_far_tp_main_loop_entered);
disconnectFromPreviousShard();
uint nbRecoSelectCharReceived = 0; uint nbRecoSelectCharReceived = 0;
bool welcomeWindow = true; bool welcomeWindow = true;