made the end game message in team games a bit smaller so it doesn't overlap the scoreboard. Closes #406

This commit is contained in:
oy 2011-01-12 01:10:40 +01:00
parent d79fd3d4c0
commit 1f55237919

View file

@ -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"));