mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 22:48:18 +00:00
fixed chat message in the console
This commit is contained in:
parent
6fd0de865c
commit
2a46b17453
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue