mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
fix braces
This commit is contained in:
parent
bb3cde4369
commit
735aab9609
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue