summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2010-06-09 18:15:17 +0000
committerAndrey Nazarov <skuller@skuller.net>2010-06-09 18:15:17 +0000
commitb00af1d828adb3adbababf945930d9dc34e4d305 (patch)
tree5dfea3566f653148af5d05ad522f7918c905b127 /source/cl_parse.c
parent9e2f9613f568b5532ad1872849a594aca250288a (diff)
Expand the first ‘@’ character found in ‘logfile_prefix’ to a single letter corresponding to message type (T - talk, D - developer, W - warning, E - error, A - everything else).
Made player chat lines colored in dedicated server console.
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/cl_parse.c b/source/cl_parse.c
index fd82425..aa1340d 100644
--- a/source/cl_parse.c
+++ b/source/cl_parse.c
@@ -1339,9 +1339,7 @@ static void CL_ParsePrint( void ) {
string[len] = '\n';
}
- Com_SetColor( COLOR_ALT );
- Com_Printf( "%s", string );
- Com_SetColor( COLOR_NONE );
+ Com_LPrintf( PRINT_TALK, "%s", string );
Con_SkipNotify( qfalse );