From 71a4a20812ac7eb966ed0d92e8ba7ec976fd6b7a Mon Sep 17 00:00:00 2001 From: Jupeyy Date: Thu, 15 Mar 2018 03:59:57 +0100 Subject: [PATCH] team name position fix --- src/game/client/components/scoreboard.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 4b004e69a..6892d1df5 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -385,7 +385,7 @@ void CScoreboard::RenderScoreboard(float x, float y, float w, int Team, const ch { str_format(aBuf, sizeof(aBuf),"Team %d", DDTeam); tw = TextRender()->TextWidth(0, FontSize, aBuf, -1); - TextRender()->SetCursor(&Cursor, ScoreOffset+w/2.0f-tw/2.0f, y + LineHeight - Spacing/3.0f, FontSize/1.5f, TEXTFLAG_RENDER|TEXTFLAG_STOP_AT_END); + TextRender()->SetCursor(&Cursor, ScoreOffset+w/2.0f-tw/2.0f, y + LineHeight, FontSize/1.5f, TEXTFLAG_RENDER|TEXTFLAG_STOP_AT_END); Cursor.m_LineWidth = NameLength+3; } TextRender()->TextEx(&Cursor, aBuf, -1);