]> git.rm.cloudns.org Git - xonotic/darkplaces.git/commitdiff
don't try to validate parameters to an opcode that is unrecognized
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Sat, 14 Dec 2013 10:15:36 +0000 (10:15 +0000)
committerRudolf Polzer <divverent@xonotic.org>
Wed, 18 Dec 2013 10:02:38 +0000 (11:02 +0100)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12030 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=99a143e9c97b009ca04e30a317d01e5b0fa15018

prvm_edict.c

index bb30302eb9c83eea1f4c8ac7c05920eb8e1a5943..12781fdc10da743f51814dc2c34e07d371c45776 100644 (file)
@@ -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: