mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Revert "Revert "Update players.cpp"" (fixes #4926)
This reverts commit 36bfe24522
.
This commit is contained in:
parent
d94bc56cca
commit
68c7044912
|
@ -137,7 +137,7 @@ void CPlayers::RenderHookCollLine(
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue