Fix random dummy jumps at switch (for the 100th time)

This commit is contained in:
def 2014-05-10 18:20:03 +02:00
parent 5b1c866b35
commit 96068e0149

View file

@ -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;
}
}