From 887f2043306442735920fdb2b1a1395ad3bc0018 Mon Sep 17 00:00:00 2001 From: Spoike Date: Tue, 14 Jul 2009 15:14:25 +0000 Subject: [PATCH] This allows servers to stuffcmd aliases that match commands which would have forwarded anyway. Thus fixing 'pause' in ktx. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@3276 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/common/cmd.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/engine/common/cmd.c b/engine/common/cmd.c index 667e4859d..f67a3d987 100644 --- a/engine/common/cmd.c +++ b/engine/common/cmd.c @@ -1928,6 +1928,8 @@ void Cmd_ExecuteString (char *text, int level) if (UI_Command()) return; #endif + if (Cmd_AliasExist(cmd_argv[0], level)) + break; //server stuffed an alias for a command that it would already have received. use that instead. Cmd_ForwardToServer (); } else