about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authoroy <Tom_Adams@web.de>2011-01-12 01:10:40 +0100
committeroy <Tom_Adams@web.de>2011-01-12 01:10:40 +0100
commit1f552379199e4811c073f2bc14d677ef3706f73d (patch)
treedf791b3ee2f3176608c94a4285d9cba0dbc54b66 /src/game/client
parentd79fd3d4c0cd6fce9bfd7f1e91eafce87a09b5a8 (diff)
downloadzcatch-1f552379199e4811c073f2bc14d677ef3706f73d.tar.gz
zcatch-1f552379199e4811c073f2bc14d677ef3706f73d.zip
made the end game message in team games a bit smaller so it doesn't overlap the scoreboard. Closes #406
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/components/scoreboard.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/client/components/scoreboard.cpp b/src/game/client/components/scoreboard.cpp
index 2292f40e..5fb2395f 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"));