mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 01:58:19 +00:00
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:
parent
d79fd3d4c0
commit
1f55237919
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue