aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoricculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 05:57:14 +0000
committericculus <icculus@edf5b092-35ff-0310-97b2-ce42778d08ea>2009-09-15 05:57:14 +0000
commit413643decfe5394d385ba16d1da0f134ecda9fbc (patch)
tree17e2bef73f84046aadb5307897c21f9bb3fde263
parent63fd3b0e5a7596b7af6edf4b0c5db0ae98bc2153 (diff)
downloadioquake3-aero-413643decfe5394d385ba16d1da0f134ecda9fbc.tar.gz
ioquake3-aero-413643decfe5394d385ba16d1da0f134ecda9fbc.zip
Echo console command now colorizes by string, not token.
Fixes Bugzilla #3879. git-svn-id: svn://svn.icculus.org/quake3/trunk@1619 edf5b092-35ff-0310-97b2-ce42778d08ea
-rw-r--r--code/qcommon/cmd.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/code/qcommon/cmd.c b/code/qcommon/cmd.c
index c938158..f1243b3 100644
--- a/code/qcommon/cmd.c
+++ b/code/qcommon/cmd.c
@@ -297,11 +297,7 @@ Just prints the rest of the line to the console
*/
void Cmd_Echo_f (void)
{
- int i;
-
- for (i=1 ; i<Cmd_Argc() ; i++)
- Com_Printf ("%s ",Cmd_Argv(i));
- Com_Printf ("\n");
+ Com_Printf ("%s\n", Cmd_Args());
}