mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-14 03:58:18 +00:00
Fix dummy intended tick sent to server
This commit is contained in:
parent
e9b59e72ff
commit
3380fd8122
|
@ -571,7 +571,7 @@ void CClient::SendInput()
|
||||||
// pack input
|
// pack input
|
||||||
CMsgPacker Msg(NETMSG_INPUT, true);
|
CMsgPacker Msg(NETMSG_INPUT, true);
|
||||||
Msg.AddInt(m_AckGameTick[i]);
|
Msg.AddInt(m_AckGameTick[i]);
|
||||||
Msg.AddInt(m_PredTick[i]);
|
Msg.AddInt(m_PredTick[g_Config.m_ClDummy]);
|
||||||
Msg.AddInt(Size);
|
Msg.AddInt(Size);
|
||||||
|
|
||||||
m_aInputs[i][m_CurrentInput[i]].m_Tick = m_PredTick[g_Config.m_ClDummy];
|
m_aInputs[i][m_CurrentInput[i]].m_Tick = m_PredTick[g_Config.m_ClDummy];
|
||||||
|
|
Loading…
Reference in a new issue