]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
do the skipping here too
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Jan 2009 10:45:03 +0000 (10:45 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Fri, 23 Jan 2009 10:45:03 +0000 (10:45 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8665 d7cf8633-e32d-0410-b094-e92efae38249

prvm_cmds.c

index 51559a910c2f5cd15247ba3ec4437948c4ed2089..2887b0fe037c86a43ef9fe734e48afe574f7f24d 100644 (file)
@@ -4435,6 +4435,10 @@ void VM_buf_cvarlist(void)
        {
                if(partial && strncasecmp(partial, cvar->name, len))
                        continue;
+
+               if(antilen && !strncasecmp(antipartial, cvar->name, antilen))
+                       continue;
+
                ++n;
        }