From bbec70d04659d7801a1135a5f3366b8d9705f0f8 Mon Sep 17 00:00:00 2001 From: divverent Date: Sat, 15 Mar 2014 12:23:41 +0000 Subject: [PATCH] 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 --- prvm_edict.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.39.2