diff --git a/src/game/client/components/players.cpp b/src/game/client/components/players.cpp index ddb247f21..ab8dcb7d5 100644 --- a/src/game/client/components/players.cpp +++ b/src/game/client/components/players.cpp @@ -288,7 +288,7 @@ void CPlayers::RenderPlayer( vec2 ExDirection = Direction; if(Local && Client()->State() != IClient::STATE_DEMOPLAYBACK) - 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)); + 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)); Graphics()->TextureClear(); vec2 InitPos = Position;