From 1f552379199e4811c073f2bc14d677ef3706f73d Mon Sep 17 00:00:00 2001 From: oy Date: Wed, 12 Jan 2011 01:10:40 +0100 Subject: [PATCH] made the end game message in team games a bit smaller so it doesn't overlap the scoreboard. Closes #406 --- src/game/client/components/scoreboard.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp index 2292f40eb..5fb2395fc 100644 --- a/src/game/client/components/scoreboard.cpp +++ b/src/game/client/components/scoreboard.cpp @@ -313,8 +313,8 @@ void CScoreboard::OnRender() else if(m_pClient->m_Snap.m_pGameobj->m_TeamscoreBlue > m_pClient->m_Snap.m_pGameobj->m_TeamscoreRed) pText = Localize("Blue team wins!"); - float w = TextRender()->TextWidth(0, 92.0f, pText, -1); - TextRender()->Text(0, Width/2-w/2, 45, 92.0f, pText, -1); + float w = TextRender()->TextWidth(0, 86.0f, pText, -1); + TextRender()->Text(0, Width/2-w/2, 39, 86.0f, pText, -1); } RenderScoreboard(Width/2-w-20, 150.0f, w, TEAM_RED, Localize("Red team"));