]> git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
fixed parmcount check on VM_SV_AddStat from 2 parameters to 3
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 19 Feb 2007 01:46:44 +0000 (01:46 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 19 Feb 2007 01:46:44 +0000 (01:46 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@6863 d7cf8633-e32d-0410-b094-e92efae38249

svvm_cmds.c

index f139e6f3021d4abae8a3e202f265784fdedcfecc..2a1cb181202513f220275fcabe2843744d296a59 100644 (file)
@@ -1397,7 +1397,7 @@ void VM_SV_WriteAutoSentStats (client_t *client, prvm_edict_t *ent, sizebuf_t *m
        }
 }
 
-// void(float index, float type, .void field) SV_AddStat = #470;
+// void(float index, float type, .void field) SV_AddStat = #232;
 // Set up an auto-sent player stat.
 // Client's get thier own fields sent to them. Index may not be less than 32.
 // Type is a value equating to the ev_ values found in qcc to dictate types. Valid ones are:
@@ -1409,7 +1409,7 @@ static void VM_SV_AddStat (void)
        int             off, i;
        unsigned char   type;
 
-       VM_SAFEPARMCOUNT(2, VM_SV_AddStat);
+       VM_SAFEPARMCOUNT(3, VM_SV_AddStat);
 
        if(!vm_autosentstats)
        {