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~96^2~10 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=99a143e9c97b009ca04e30a317d01e5b0fa15018;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 --- 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: