Remove unnecessary use of this

The same variable `m_HookHitDisabled` is also being accessed without `this`.
This commit is contained in:
Robert Müller 2024-07-09 22:22:55 +02:00
parent 998adfcefc
commit 660c1de8f2

View file

@ -344,7 +344,7 @@ void CCharacterCore::Tick(bool UseInput, bool DoDeferredTick)
} }
// Check against other players first // Check against other players first
if(!this->m_HookHitDisabled && m_pWorld && m_Tuning.m_PlayerHooking && (m_HookState == HOOK_FLYING || !m_NewHook)) if(!m_HookHitDisabled && m_pWorld && m_Tuning.m_PlayerHooking && (m_HookState == HOOK_FLYING || !m_NewHook))
{ {
float Distance = 0.0f; float Distance = 0.0f;
for(int i = 0; i < MAX_CLIENTS; i++) for(int i = 0; i < MAX_CLIENTS; i++)