revert to SetHookedPlayer in ReadCharacterCore

This commit is contained in:
c0d3d3v 2022-05-26 07:45:34 +02:00
parent a5cf35576d
commit cf03ada052
No known key found for this signature in database
GPG key ID: 068AF680530DFF31

View file

@ -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;
m_HookedPlayer = pObjCore->m_HookedPlayer;
SetHookedPlayer(pObjCore->m_HookedPlayer);
m_Jumped = pObjCore->m_Jumped;
m_Direction = pObjCore->m_Direction;
m_Angle = pObjCore->m_Angle;