Fix slow cl_dummy_fire

This commit is contained in:
MrBlubberBut 2023-12-27 18:31:42 -05:00 committed by GitHub
parent 02331d1986
commit df0b3567a6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -277,7 +277,7 @@ void CClient::SendInput()
// ugly workaround for dummy. we need to send input with dummy to prevent
// prediction time resets. but if we do it too often, then it's
// impossible to use grenade with frozen dummy that gets hammered...
if(g_Config.m_ClDummyCopyMoves || m_aCurrentInput[i] % 2)
if(g_Config.m_ClDummyCopyMoves || g_Config.m_ClDummyControl || m_aCurrentInput[i] % 2)
Force = true;
}
}