Fix dummy intended tick sent to server

This commit is contained in:
Tater 2022-05-14 01:07:36 -05:00
parent e9b59e72ff
commit 3380fd8122

View file

@ -571,7 +571,7 @@ void CClient::SendInput()
// pack input
CMsgPacker Msg(NETMSG_INPUT, true);
Msg.AddInt(m_AckGameTick[i]);
Msg.AddInt(m_PredTick[i]);
Msg.AddInt(m_PredTick[g_Config.m_ClDummy]);
Msg.AddInt(Size);
m_aInputs[i][m_CurrentInput[i]].m_Tick = m_PredTick[g_Config.m_ClDummy];