From da8c0c61b5dd9f5f66b832af9dca3175dd49f1d7 Mon Sep 17 00:00:00 2001 From: oy Date: Sat, 19 Mar 2011 18:28:47 +0100 Subject: made scoreboard show clan name and country flag and fixed overlapping spectator names. Closes #203. Closes #335 --- src/game/client/components/chat.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/game/client/components/chat.cpp') diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index e90e8579..308493bb 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -262,7 +262,7 @@ void CChat::AddLine(int ClientID, int Team, const char *pLine) void CChat::OnRender() { Graphics()->MapScreen(0,0,300*Graphics()->ScreenAspect(),300); - float x = 10.0f; + float x = 5.0f; float y = 300.0f-20.0f; if(m_Mode != MODE_NONE) { @@ -316,8 +316,8 @@ void CChat::OnRender() y -= 8.0f; int64 Now = time_get(); - float LineWidth = m_pClient->m_pScoreboard->Active() ? 95.0f : 200.0f; - float HeightLimit = m_pClient->m_pScoreboard->Active() ? 220.0f : m_Show ? 50.0f : 200.0f; + float LineWidth = m_pClient->m_pScoreboard->Active() ? 90.0f : 200.0f; + float HeightLimit = m_pClient->m_pScoreboard->Active() ? 230.0f : m_Show ? 50.0f : 200.0f; float Begin = x; float FontSize = 6.0f; CTextCursor Cursor; -- cgit 1.4.1