From 2a46b17453ba76275f2f84d45572c1cea482d596 Mon Sep 17 00:00:00 2001 From: oy Date: Sun, 11 Nov 2018 16:20:59 +0100 Subject: [PATCH] fixed chat message in the console --- src/game/client/components/chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/game/client/components/chat.cpp b/src/game/client/components/chat.cpp index c936a8663..a6c697bfb 100644 --- a/src/game/client/components/chat.cpp +++ b/src/game/client/components/chat.cpp @@ -473,7 +473,7 @@ void CChat::AddLine(int ClientID, int Mode, const char *pLine) str_copy(aBufMode, "teamchat", sizeof(aBufMode)); else str_copy(aBufMode, "chat", sizeof(aBufMode)); - str_format(aBuf, sizeof(aBuf), "%s%s", m_aLines[m_CurrentLine].m_aName, m_aLines[m_CurrentLine].m_aText); + str_format(aBuf, sizeof(aBuf), "%s: %s", m_aLines[m_CurrentLine].m_aName, m_aLines[m_CurrentLine].m_aText); Console()->Print(IConsole::OUTPUT_LEVEL_STANDARD, aBufMode, aBuf, Highlighted); }