server stuffs can't use cmd_arvc/cmd_argv in aliases.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@502 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2004-11-22 08:28:30 +00:00
parent 96ab3d3fd1
commit e79177657d

View file

@ -1634,6 +1634,9 @@ void Cmd_ExecuteString (char *text, int level)
Cbuf_InsertText (a->value, level);
if (Cmd_FromServer())
return; //don't do the cmd_argc/cmd_argv stuff. When it's from the server, we had a tendancy to lock aliases, so don't set them anymore.
Cbuf_InsertText (va("set cmd_argc \"%i\"\n", cmd_argc), level);
for (i = 1; i < cmd_argc; i++)