[mw-devel] MW3 r1198 - trunk/src

dez at sucs.org dez at sucs.org
Fri Oct 8 17:30:16 BST 2010


Author: dez
Date: 2010-10-08 17:30:16 +0100 (Fri, 08 Oct 2010)
New Revision: 1198

Modified:
   trunk/src/talker.c
Log:
Adds a colon to shout messages to make them consistent


Modified: trunk/src/talker.c
===================================================================
--- trunk/src/talker.c	2010-10-08 16:06:43 UTC (rev 1197)
+++ trunk/src/talker.c	2010-10-08 16:30:16 UTC (rev 1198)
@@ -143,10 +143,10 @@
 	memset(&f_info, 0, sizeof(f_info));
 	f_info.channel = user->room;
 	mwlog("SHOUT %s", text);
-	snprintf(buff, MAXTEXTLENGTH, "%s shouts %s", user->name, text);
+	snprintf(buff, MAXTEXTLENGTH, "%s shouts: %s", user->name, text);
 	ipc_send_to_all(IPC_TEXT, buff, send_filter_oneroom, &f_info);
 	ipc_send_to_all(IPC_TEXT, buff, send_filter_nonglobal, &f_info);
-	snprintf(buff, MAXTEXTLENGTH, "*:%s shouts %s", user->name, text);
+	snprintf(buff, MAXTEXTLENGTH, "*:%s shouts: %s", user->name, text);
 	ipc_send_to_all(IPC_TEXT, buff, send_filter_global, &f_info);
 }
 




More information about the mw-devel mailing list