From 99a143e9c97b009ca04e30a317d01e5b0fa15018 Mon Sep 17 00:00:00 2001 From: havoc Date: Sat, 14 Dec 2013 10:15:36 +0000 Subject: [PATCH] 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 --- prvm_edict.c | 1 + 1 file changed, 1 insertion(+) 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: -- 2.39.2