Remove unused m_HookState assignments

This commit is contained in:
Zwelf 2023-01-05 20:24:13 +01:00
parent e4157a744b
commit 0ef312d739

View file

@ -251,7 +251,6 @@ void CCharacterCore::Tick(bool UseInput, bool DoDeferredTick)
if(m_HookState == HOOK_IDLE) if(m_HookState == HOOK_IDLE)
{ {
SetHookedPlayer(-1); SetHookedPlayer(-1);
m_HookState = HOOK_IDLE;
m_HookPos = m_Pos; m_HookPos = m_Pos;
} }
else if(m_HookState >= HOOK_RETRACT_START && m_HookState < HOOK_RETRACT_END) else if(m_HookState >= HOOK_RETRACT_START && m_HookState < HOOK_RETRACT_END)