Merge pull request #567 from d3fault/master

dummy copyMoves/hammer disabling when dummy connecting
This commit is contained in:
Dennis Felsing 2016-11-07 10:20:11 +01:00 committed by GitHub
commit c21399c4c5
2 changed files with 3 additions and 1 deletions

View file

@ -841,6 +841,9 @@ void CClient::DummyConnect()
m_DummySendConnInfo = true;
g_Config.m_ClDummyCopyMoves = 0;
g_Config.m_ClDummyHammer = 0;
//connecting to the server
m_NetClient[1].Connect(&m_ServerAddress);
}

View file

@ -619,7 +619,6 @@ void CGameClient::OnDummyDisconnect()
m_DDRaceMsgSent[1] = false;
m_ShowOthers[1] = -1;
m_LastNewPredictedTick[1] = -1;
g_Config.m_ClDummyCopyMoves = 0;
}
void CGameClient::OnRelease()