mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-23 04:11:53 +00:00
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:
parent
96ab3d3fd1
commit
e79177657d
1 changed files with 3 additions and 0 deletions
|
@ -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++)
|
||||
|
|
Loading…
Reference in a new issue