Revert "Update players.cpp"

This reverts commit ccc23161f6.

Caused inaccuracies. I tried checking what calculations the server does,
but couldn't figure it out quickly.
This commit is contained in:
Dennis Felsing 2022-03-30 17:41:59 +02:00
parent ee5652ce7f
commit 36bfe24522

View file

@ -137,7 +137,7 @@ void CPlayers::RenderHookCollLine(
vec2 ExDirection = Direction;
if(Local && Client()->State() != IClient::STATE_DEMOPLAYBACK)
ExDirection = normalize(vec2((int)m_pClient->m_Controls.m_MousePos[g_Config.m_ClDummy].x, (int)m_pClient->m_Controls.m_MousePos[g_Config.m_ClDummy].y));
ExDirection = normalize(vec2(m_pClient->m_Controls.m_InputData[g_Config.m_ClDummy].m_TargetX, m_pClient->m_Controls.m_InputData[g_Config.m_ClDummy].m_TargetY));
Graphics()->TextureClear();
vec2 InitPos = Position;