aboutsummaryrefslogtreecommitdiffstats
path: root/code
diff options
context:
space:
mode:
Diffstat (limited to 'code')
-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());
}