diff --git a/src/game/server/entity.cpp b/src/game/server/entity.cpp index 3c293e15c..9ade45172 100644 --- a/src/game/server/entity.cpp +++ b/src/game/server/entity.cpp @@ -35,17 +35,6 @@ int CEntity::NetworkClipped(int SnappingClient) int CEntity::NetworkClipped(int SnappingClient, vec2 CheckPos) { - if(SnappingClient == -1 || GameServer()->m_apPlayers[SnappingClient]->GetTeam() == TEAM_SPECTATORS || GameServer()->m_apPlayers[SnappingClient]->m_Paused) - return 0; - - float dx = GameServer()->m_apPlayers[SnappingClient]->m_ViewPos.x-CheckPos.x; - float dy = GameServer()->m_apPlayers[SnappingClient]->m_ViewPos.y-CheckPos.y; - - if(absolute(dx) > 1000.0f || absolute(dy) > 800.0f) - return 1; - - if(distance(GameServer()->m_apPlayers[SnappingClient]->m_ViewPos, CheckPos) > 1100.0f) - return 1; return 0; }