Skip to content

Commit

Permalink
ugly workaround for dummy input when frozen with grenade and getting …
Browse files Browse the repository at this point in the history
…hammered
  • Loading branch information
def- committed Jul 15, 2017
1 parent 4b4f999 commit f9170fd
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/engine/client/client.cpp
Expand Up @@ -516,7 +516,11 @@ void CClient::SendInput()
m_CurrentInput[i] %= 200;

SendMsgExY(&Msg, MSGFLAG_FLUSH, true, i);
Force = true;
// 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_CurrentInput[i] % 2)
Force = true;
}
}
}
Expand Down

0 comments on commit f9170fd

Please sign in to comment.