mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fix crash on non ddnet server if hook is in view
This commit is contained in:
parent
049a249944
commit
6a5673aa04
|
@ -550,7 +550,7 @@ void CCharacterCore::ReadCharacterCore(const CNetObj_CharacterCore *pObjCore)
|
|||
m_HookPos.y = pObjCore->m_HookY;
|
||||
m_HookDir.x = pObjCore->m_HookDx / 256.0f;
|
||||
m_HookDir.y = pObjCore->m_HookDy / 256.0f;
|
||||
SetHookedPlayer(pObjCore->m_HookedPlayer);
|
||||
m_HookedPlayer = pObjCore->m_HookedPlayer;
|
||||
m_Jumped = pObjCore->m_Jumped;
|
||||
m_Direction = pObjCore->m_Direction;
|
||||
m_Angle = pObjCore->m_Angle;
|
||||
|
|
Loading…
Reference in a new issue