Fix: More FPS with cl_overlay_entities under 100

This commit is contained in:
def 2014-05-08 15:58:02 +02:00
parent 07658af221
commit bcec9d025d

View file

@ -232,7 +232,7 @@ void CMapLayers::OnRender()
}
}
if((Render && !IsGameLayer && !IsFrontLayer && !IsSwitchLayer && !IsTeleLayer && !IsSpeedupLayer) || (g_Config.m_ClOverlayEntities && IsGameLayer))
if((Render && g_Config.m_ClOverlayEntities < 100 && !IsGameLayer && !IsFrontLayer && !IsSwitchLayer && !IsTeleLayer && !IsSpeedupLayer) || (g_Config.m_ClOverlayEntities && IsGameLayer))
{
//layershot_begin();