From 0ef312d739e02408fe64b39e60b5f1ecc9216f3c Mon Sep 17 00:00:00 2001 From: Zwelf Date: Thu, 5 Jan 2023 20:24:13 +0100 Subject: [PATCH] Remove unused m_HookState assignments --- src/game/gamecore.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/game/gamecore.cpp b/src/game/gamecore.cpp index 408924d02..2ecc932b9 100644 --- a/src/game/gamecore.cpp +++ b/src/game/gamecore.cpp @@ -251,7 +251,6 @@ void CCharacterCore::Tick(bool UseInput, bool DoDeferredTick) if(m_HookState == HOOK_IDLE) { SetHookedPlayer(-1); - m_HookState = HOOK_IDLE; m_HookPos = m_Pos; } else if(m_HookState >= HOOK_RETRACT_START && m_HookState < HOOK_RETRACT_END)