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
This commit is contained in:
Spoike 2009-07-14 15:14:25 +00:00
parent 9ad2588aed
commit 887f204330

View file

@ -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