mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
Fix: More FPS with cl_overlay_entities under 100
This commit is contained in:
parent
07658af221
commit
bcec9d025d
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue