Allow players to see further

This commit is contained in:
def 2013-12-27 18:29:56 +01:00
parent 5453c0c80f
commit c1da2444a2

View file

@ -44,7 +44,7 @@ int CEntity::NetworkClipped(int SnappingClient, vec2 CheckPos)
if(absolute(dx) > 1000.0f || absolute(dy) > 800.0f)
return 1;
if(distance(GameServer()->m_apPlayers[SnappingClient]->m_ViewPos, CheckPos) > 2000.0f)
if(distance(GameServer()->m_apPlayers[SnappingClient]->m_ViewPos, CheckPos) > 4000.0f)
return 1;
return 0;
}