From 91f642fac2362b03c5246f76883dd2eadc54abdd Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 9 Jan 2011 23:25:07 +0100 Subject: fixed cut off broadcast. Closes #398 --- src/game/client/components/broadcast.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/client/components') diff --git a/src/game/client/components/broadcast.cpp b/src/game/client/components/broadcast.cpp index a4940ed7..c262fff0 100644 --- a/src/game/client/components/broadcast.cpp +++ b/src/game/client/components/broadcast.cpp @@ -23,7 +23,7 @@ void CBroadcast::OnRender() { CTextCursor Cursor; TextRender()->SetCursor(&Cursor, m_BroadcastRenderOffset, 40.0f, 12.0f, TEXTFLAG_RENDER|TEXTFLAG_STOP_AT_END); - Cursor.m_LineWidth = 300*Graphics()->ScreenAspect()-2*m_BroadcastRenderOffset; + Cursor.m_LineWidth = 300*Graphics()->ScreenAspect()-m_BroadcastRenderOffset; TextRender()->TextEx(&Cursor, m_aBroadcastText, -1); } } -- cgit 1.4.1