]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fix incorrect parameter count check on setspawnparms, this was causing coop servers...
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Mar 2007 10:41:10 +0000 (10:41 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 9 Mar 2007 10:41:10 +0000 (10:41 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6948 d7cf8633-e32d-0410-b094-e92efae38249

svvm_cmds.c

index 0062dcfd9f99688ea07932236433a664e54d26f4..b7d20b7f7061b46ed7adb98436e8332f463d4d24 100644 (file)
@@ -1253,7 +1253,7 @@ static void VM_SV_setspawnparms (void)
        int             i;
        client_t        *client;
 
-       VM_SAFEPARMCOUNT(0, VM_SV_setspawnparms);
+       VM_SAFEPARMCOUNT(1, VM_SV_setspawnparms);
 
        ent = PRVM_G_EDICT(OFS_PARM0);
        i = PRVM_NUM_FOR_EDICT(ent);