]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Erm, remove the paramcount check from localcmd, so that it actually works
authorblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 5 Dec 2005 19:36:32 +0000 (19:36 +0000)
committerblack <black@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 5 Dec 2005 19:36:32 +0000 (19:36 +0000)
with an arbitrary number of params.

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5856 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index c0cc2c2a6630cef9848eda058a59efca6fa20e4a..53b90484f9b2eedf2b1e73cc97ce7993db29f020 100644 (file)
@@ -473,7 +473,6 @@ cmd (string, ...)
 void VM_localcmd (void)
 {
        char string[VM_STRINGTEMP_LENGTH];
-       VM_SAFEPARMCOUNT(1,VM_localcmd);
        VM_VarString(0, string, sizeof(string));
        Cbuf_AddText(string);
 }