[iortcw] 72/89: All: Echo server say/tell messages to console

Simon McVittie smcv at debian.org
Fri Sep 8 10:44:32 UTC 2017


This is an automated email from the git hooks/post-receive script.

smcv pushed a commit to tag 1.51b
in repository iortcw.

commit bd1915a37c4ef156f1d12a4902c08c0a92ed34d2
Author: MAN-AT-ARMS <M4N4T4RMS at gmail.com>
Date:   Fri Jul 28 17:41:39 2017 -0400

    All: Echo server say/tell messages to console
---
 MP/code/server/sv_ccmds.c | 2 ++
 SP/code/server/sv_ccmds.c | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/MP/code/server/sv_ccmds.c b/MP/code/server/sv_ccmds.c
index 3099385..1e0b131 100644
--- a/MP/code/server/sv_ccmds.c
+++ b/MP/code/server/sv_ccmds.c
@@ -1447,6 +1447,7 @@ static void SV_ConSay_f( void ) {
 
 	strcat( text, p );
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand( NULL, "chat \"%s\"", text );
 }
 
@@ -1486,6 +1487,7 @@ static void SV_ConTell_f(void) {
 
 	strcat(text, p);
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand(cl, "chat \"%s\"", text);
 }
 
diff --git a/SP/code/server/sv_ccmds.c b/SP/code/server/sv_ccmds.c
index 60c2174..8f4c4d5 100644
--- a/SP/code/server/sv_ccmds.c
+++ b/SP/code/server/sv_ccmds.c
@@ -1464,6 +1464,7 @@ static void SV_ConSay_f( void ) {
 
 	strcat( text, p );
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand( NULL, "chat \"%s\"", text );
 }
 
@@ -1503,6 +1504,7 @@ static void SV_ConTell_f(void) {
 
 	strcat(text, p);
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand(cl, "chat \"%s\"", text);
 }
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/iortcw.git



More information about the Pkg-games-commits mailing list