[ioquake3] 02/21: Echo server say/tell/sayto message to console

Simon McVittie smcv at debian.org
Fri Aug 4 20:39:12 UTC 2017


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

smcv pushed a commit to branch debian/master
in repository ioquake3.

commit fa034c17ecb85e5b1574f102755131fa9d6460e3
Author: Zack Middleton <zack at cloemail.com>
Date:   Mon Jul 24 20:55:14 2017 -0500

    Echo server say/tell/sayto message to console
---
 code/server/sv_ccmds.c | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/code/server/sv_ccmds.c b/code/server/sv_ccmds.c
index 5f26b85..2ba8194 100644
--- a/code/server/sv_ccmds.c
+++ b/code/server/sv_ccmds.c
@@ -1260,6 +1260,7 @@ static void SV_ConSay_f(void) {
 
 	strcat(text, p);
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand(NULL, "chat \"%s\"", text);
 }
 
@@ -1299,6 +1300,7 @@ static void SV_ConTell_f(void) {
 
 	strcat(text, p);
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand(cl, "chat \"%s\"", text);
 }
 
@@ -1364,6 +1366,7 @@ static void SV_ConSayto_f(void) {
 
 	strcat(text, p);
 
+	Com_Printf("%s\n", text);
 	SV_SendServerCommand(saytocl, "chat \"%s\"", text);
 }
 

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



More information about the Pkg-games-commits mailing list