From 3380fd8122d43647e22cfbac30483c1936318dd3 Mon Sep 17 00:00:00 2001 From: Tater Date: Sat, 14 May 2022 01:07:36 -0500 Subject: [PATCH] Fix dummy intended tick sent to server --- src/engine/client/client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/client.cpp b/src/engine/client/client.cpp index b9c01d604..8fd364ab7 100644 --- a/src/engine/client/client.cpp +++ b/src/engine/client/client.cpp @@ -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];