mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
dummy copyMoves/hammer disabling when dummy connecting
This commit is contained in:
parent
795e68ec2b
commit
d6b732113e
|
@ -841,6 +841,9 @@ void CClient::DummyConnect()
|
||||||
|
|
||||||
m_DummySendConnInfo = true;
|
m_DummySendConnInfo = true;
|
||||||
|
|
||||||
|
g_Config.m_ClDummyCopyMoves = 0;
|
||||||
|
g_Config.m_ClDummyHammer = 0;
|
||||||
|
|
||||||
//connecting to the server
|
//connecting to the server
|
||||||
m_NetClient[1].Connect(&m_ServerAddress);
|
m_NetClient[1].Connect(&m_ServerAddress);
|
||||||
}
|
}
|
||||||
|
|
|
@ -619,7 +619,6 @@ void CGameClient::OnDummyDisconnect()
|
||||||
m_DDRaceMsgSent[1] = false;
|
m_DDRaceMsgSent[1] = false;
|
||||||
m_ShowOthers[1] = -1;
|
m_ShowOthers[1] = -1;
|
||||||
m_LastNewPredictedTick[1] = -1;
|
m_LastNewPredictedTick[1] = -1;
|
||||||
g_Config.m_ClDummyCopyMoves = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void CGameClient::OnRelease()
|
void CGameClient::OnRelease()
|
||||||
|
|
Loading…
Reference in a new issue