mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix random dummy jumps at switch (for the 100th time)
This commit is contained in:
parent
5b1c866b35
commit
96068e0149
|
@ -466,7 +466,7 @@ void CClient::SendInput()
|
|||
|
||||
if(m_LastDummy != g_Config.m_ClDummy)
|
||||
{
|
||||
mem_copy(&DummyInput, &m_aInputs[!g_Config.m_ClDummy][(m_CurrentInput[!g_Config.m_ClDummy]+200-2)%200], sizeof(DummyInput));
|
||||
mem_copy(&DummyInput, &m_aInputs[!g_Config.m_ClDummy][(m_CurrentInput[!g_Config.m_ClDummy]+200-1)%200], sizeof(DummyInput));
|
||||
m_LastDummy = g_Config.m_ClDummy;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue