Merge pull request #7771 from ChillerDragon/pr_routine

Typo routine
This commit is contained in:
Jupeyy 2024-01-07 22:19:32 +00:00 committed by GitHub
commit 1377af0921
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -365,7 +365,7 @@ void CCharacterCore::Tick(bool UseInput, bool DoDeferredTick)
// release_hooked(); // release_hooked();
} }
// don't do this hook rutine when we are hook to a player // don't do this hook routine when we are already hooked to a player
if(m_HookedPlayer == -1 && distance(m_HookPos, m_Pos) > 46.0f) if(m_HookedPlayer == -1 && distance(m_HookPos, m_Pos) > 46.0f)
{ {
vec2 HookVel = normalize(m_HookPos - m_Pos) * m_Tuning.m_HookDragAccel; vec2 HookVel = normalize(m_HookPos - m_Pos) * m_Tuning.m_HookDragAccel;