From 735aab9609818ce8527db467bdbb7897ecea42a2 Mon Sep 17 00:00:00 2001 From: Ryozuki Date: Fri, 5 Apr 2019 13:25:17 +0200 Subject: [PATCH] fix braces --- src/game/client/components/scoreboard.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 0a4270b16..267695a4a 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -487,7 +487,8 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch CountryOffset, y+(Spacing+TeeSizeMod*5.0f)/2.0f, CountryLength, LineHeight-Spacing-TeeSizeMod*5.0f); // ping - if(g_Config.m_ClEnablePingColor) { + if(g_Config.m_ClEnablePingColor) + { vec3 rgb = HslToRgb(vec3((300.0f - clamp(pInfo->m_Latency, 0, 300)) / 1000.0f, 1.0f, 0.5f)); TextRender()->TextColor(rgb.r, rgb.g, rgb.b, 1.0f); }