diff --git a/src/game/client/gameclient.cpp b/src/game/client/gameclient.cpp index b439ce4b8..3d3017c70 100644 --- a/src/game/client/gameclient.cpp +++ b/src/game/client/gameclient.cpp @@ -1324,7 +1324,7 @@ int CGameClient::IntersectCharacter(vec2 HookPos, vec2 NewPos, vec2& NewPos2, in vec2 Position = mix(vec2(Prev.m_X, Prev.m_Y), vec2(Player.m_X, Player.m_Y), Client()->IntraGameTick()); - if (!cData.m_Active || cData.m_Team == TEAM_SPECTATORS || i == ownID || !m_Teams.SameTeam(i, ownID)) + if (!cData.m_Active || i == ownID || !m_Teams.SameTeam(i, ownID)) continue; vec2 ClosestPoint = closest_point_on_line(HookPos, NewPos, Position);