Skip to content

Commit

Permalink
Added missing newlines to game dedicated chat messages.
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.icculus.org/quake3/trunk@2197 edf5b092-35ff-0310-97b2-ce42778d08ea
  • Loading branch information
ztm committed Nov 10, 2011
1 parent 52aefdc commit 5bca22b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/game/g_svcmds.c
Original file line number Diff line number Diff line change
Expand Up @@ -495,11 +495,11 @@ qboolean ConsoleCommand( void ) {

if (g_dedicated.integer) {
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;
}
// 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;
}

Expand Down

0 comments on commit 5bca22b

Please sign in to comment.