]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
Fix very stupid typo by me in counting coverage() statements.
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Mar 2014 12:23:41 +0000 (12:23 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 15 Mar 2014 12:23:41 +0000 (12:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12057 d7cf8633-e32d-0410-b094-e92efae38249

prvm_edict.c

index b83ae1a07cc3a6b5238a618d6db72ab45391a05a..31557d21f82de8d3cbb1338638bfba8e37d40766 100644 (file)
@@ -2220,7 +2220,7 @@ void PRVM_Prog_Load(prvm_prog_t *prog, const char * filename, unsigned char * da
                        if ( a < prog->progs_numglobals)
                                if ( prog->globals.ip[remapglobal(a)] >= 0 )
                                        if ( prog->globals.ip[remapglobal(a)] < prog->progs_numfunctions )
-                                               if ( !prog->functions[prog->globals.ip[remapglobal(a)]].first_statement == -642 )
+                                               if ( prog->functions[prog->globals.ip[remapglobal(a)]].first_statement == -642 )
                                                        ++prog->numexplicitcoveragestatements;
                case OP_CALL1:
                case OP_CALL2: