bugfix to init all variables for client connection

This commit is contained in:
Mark Vejvoda
2013-11-08 00:48:05 +00:00
parent 3796b035cd
commit 382cb120ee

View File

@@ -185,7 +185,6 @@ ClientInterface::ClientInterface() : GameNetworkInterface() {
flagAccessor = new Mutex(CODE_AT_LINE);
this->readyForInGameJoin = false;
clientSocket= NULL;
sessionKey = 0;
launchGame= false;
@@ -193,6 +192,8 @@ ClientInterface::ClientInterface() : GameNetworkInterface() {
this->joinGameInProgress = false;
this->joinGameInProgressLaunch = false;
this->readyForInGameJoin = false;
this->resumeInGameJoin = false;
quitThreadAccessor = new Mutex(CODE_AT_LINE);
setQuitThread(false);
@@ -210,6 +211,7 @@ ClientInterface::ClientInterface() : GameNetworkInterface() {
networkGameDataSynchCheckOkTech = false;
this->setNetworkGameDataSynchCheckTechMismatchReport("");
this->setReceivedDataSynchCheck(false);
}
void ClientInterface::shutdownNetworkCommandListThread(MutexSafeWrapper &safeMutexWrapper) {