# HG changeset patch # User Adam Kaminski # Date 1641760418 18000 # Sun Jan 09 15:33:38 2022 -0500 # Node ID 42ee0792b4ecb8c2ea8af23bd0671395ab2d37a7 # Parent c0c012063426d5e7e0d97bce0d51d68d54e486ba Fixed: chat messages sent by the server weren't colorized properly. diff -r c0c012063426 -r 42ee0792b4ec src/sv_main.cpp --- a/src/sv_main.cpp Sun Jan 09 12:58:18 2022 -0500 +++ b/src/sv_main.cpp Sun Jan 09 15:33:38 2022 -0500 @@ -1203,6 +1203,9 @@ if ( cleanedChatString.IsEmpty() ) return; + // [AK] Colorize the chat string one more time in case there's still any unescaped color codes. + V_ColorizeString( cleanedChatString ); + // [BB] Replace the pointer to the chat string, with the cleaned version. // This way the code below doesn't need to be altered. pszString = cleanedChatString.GetChars();