Added missing newlines to game dedicated chat messages.

This commit is contained in:
Zack Middleton 2011-11-10 04:49:07 +00:00
parent 0724458818
commit fd0d156338

View file

@ -495,11 +495,11 @@ qboolean ConsoleCommand( void ) {
if (g_dedicated.integer) { if (g_dedicated.integer) {
if (Q_stricmp (cmd, "say") == 0) { if (Q_stricmp (cmd, "say") == 0) {
trap_SendServerCommand( -1, va("print \"server: %s\"", ConcatArgs(1) ) ); trap_SendServerCommand( -1, va("print \"server: %s\n\"", ConcatArgs(1) ) );
return qtrue; return qtrue;
} }
// everything else will also be printed as a say command // everything else will also be printed as a say command
trap_SendServerCommand( -1, va("print \"server: %s\"", ConcatArgs(0) ) ); trap_SendServerCommand( -1, va("print \"server: %s\n\"", ConcatArgs(0) ) );
return qtrue; return qtrue;
} }