From: divverent Date: Sat, 15 Mar 2014 12:23:41 +0000 (+0000) Subject: Fix very stupid typo by me in counting coverage() statements. X-Git-Tag: xonotic-v0.8.0~78 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=bbec70d04659d7801a1135a5f3366b8d9705f0f8;p=xonotic%2Fdarkplaces.git Fix very stupid typo by me in counting coverage() statements. git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12057 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=bb4204c8238b1f2dc07912c01d50f9a03db6b694 --- diff --git a/prvm_edict.c b/prvm_edict.c index b83ae1a0..31557d21 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -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: