[quake3-commits] r2197 - trunk/code/game

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Nov 9 23:49:07 EST 2011


Author: ztm
Date: 2011-11-09 23:49:07 -0500 (Wed, 09 Nov 2011)
New Revision: 2197

Modified:
   trunk/code/game/g_svcmds.c
Log:
Added missing newlines to game dedicated chat messages.

Modified: trunk/code/game/g_svcmds.c
===================================================================
--- trunk/code/game/g_svcmds.c	2011-11-05 01:02:35 UTC (rev 2196)
+++ trunk/code/game/g_svcmds.c	2011-11-10 04:49:07 UTC (rev 2197)
@@ -495,11 +495,11 @@
 
 	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;
 	}
 



More information about the quake3-commits mailing list