Old chat wrapping for old chat mode

This commit is contained in:
Jupeyy 2021-10-14 16:49:11 +02:00
parent fdf265bc4f
commit f20965257f

View file

@ -1039,7 +1039,7 @@ void CChat::OnPrepareLines()
CTextCursor AppendCursor = Cursor;
if(!IsScoreBoardOpen)
if(!IsScoreBoardOpen && !g_Config.m_ClChatOld)
{
AppendCursor.m_StartX = Cursor.m_X;
AppendCursor.m_LineWidth -= (Cursor.m_LongestLineWidth - Cursor.m_StartX);
@ -1151,7 +1151,7 @@ void CChat::OnPrepareLines()
TextRender()->TextColor(Color);
CTextCursor AppendCursor = Cursor;
if(!IsScoreBoardOpen)
if(!IsScoreBoardOpen && !g_Config.m_ClChatOld)
{
AppendCursor.m_LineWidth -= (Cursor.m_LongestLineWidth - Cursor.m_StartX);
AppendCursor.m_StartX = Cursor.m_X;