From: havoc Date: Sat, 14 Dec 2013 10:15:36 +0000 (+0000) Subject: don't try to validate parameters to an opcode that is unrecognized X-Git-Tag: xonotic-v0.8.0~108 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=324b73987d1145445a192c9741675bfa745f78ac;p=xonotic%2Fdarkplaces.git don't try to validate parameters to an opcode that is unrecognized git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12030 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=99a143e9c97b009ca04e30a317d01e5b0fa15018 --- diff --git a/prvm_edict.c b/prvm_edict.c index bb30302e..12781fdc 100644 --- a/prvm_edict.c +++ b/prvm_edict.c @@ -2126,6 +2126,7 @@ void PRVM_Prog_Load(prvm_prog_t *prog, const char * filename, unsigned char * da break; default: Con_DPrintf("PRVM_LoadProgs: unknown opcode %d at statement %d in %s\n", (int)op, i, prog->name); + break; // global global global case OP_ADD_F: case OP_ADD_V: