diff options
Diffstat (limited to 'mp/src/game/client/vgui_fpspanel.cpp')
| -rw-r--r-- | mp/src/game/client/vgui_fpspanel.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mp/src/game/client/vgui_fpspanel.cpp b/mp/src/game/client/vgui_fpspanel.cpp index a44dde34..aec28add 100644 --- a/mp/src/game/client/vgui_fpspanel.cpp +++ b/mp/src/game/client/vgui_fpspanel.cpp @@ -189,12 +189,12 @@ void GetFPSColor( int nFps, unsigned char ucColor[3] ) if ( IsPC() && g_pMaterialSystemHardwareConfig->GetDXSupportLevel() >= 95 ) { nFPSThreshold1 = 60; - nFPSThreshold1 = 50; + nFPSThreshold2 = 50; } else if ( IsX360() || g_pMaterialSystemHardwareConfig->GetDXSupportLevel() >= 90 ) { nFPSThreshold1 = 30; - nFPSThreshold1 = 25; + nFPSThreshold2 = 25; } if ( nFps >= nFPSThreshold1 ) |