Skip to content
Permalink
Browse files

Changed client coreconfig.xml `fps_limit` range to 45-100

  • Loading branch information...
ccw808 committed Jul 29, 2019
1 parent 5644cd7 commit 709bc40b34ab11e533fe43d364f0a20d4b5245ca
Showing with 2 additions and 0 deletions.
  1. +2 −0 Client/core/CCore.cpp
@@ -1690,6 +1690,8 @@ void CCore::RecalculateFrameRateLimit(uint uiServerFrameRateLimit, bool bLogToCo
// Apply client config setting
uint uiClientConfigRate;
g_pCore->GetCVars()->Get("fps_limit", uiClientConfigRate);
if (uiClientConfigRate > 0)
uiClientConfigRate = std::max(45U, uiClientConfigRate);
// Lowest wins (Although zero is highest)
if ((m_uiFrameRateLimit == 0 || uiClientConfigRate < m_uiFrameRateLimit) && uiClientConfigRate > 0)
m_uiFrameRateLimit = uiClientConfigRate;

0 comments on commit 709bc40

Please sign in to comment.
You can’t perform that action at this time.