From 2d7834f548b406092bf8e7e1c30570a004a1614a Mon Sep 17 00:00:00 2001 From: twanvl Date: Tue, 10 Jul 2007 03:33:43 +0000 Subject: [PATCH] Removed assert that shouln't be there git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@540 0fc631ac-6414-0410-93d0-97cfa31319b6 --- src/script/script.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/script/script.cpp b/src/script/script.cpp index 345e8ea4..0946c7e9 100644 --- a/src/script/script.cpp +++ b/src/script/script.cpp @@ -205,10 +205,8 @@ const Instruction* Script::backtraceSkip(const Instruction* instr, int to_skip) to_skip += 2 * instr->data - 1; break; case I_JUMP: { - // jumps outputed by the parser are always backwards - // and there will be a way not to take this jump + // there will be a way not to take this jump // the part in between will have no significant stack effect - assert(&instructions[instr->data] < instr); unsigned int after_jump = instr + 1 - &instructions[0]; for (--instr ; instr >= &instructions[0] ; --instr) { if (instr->instr == I_LOOP && instr->data == after_jump) {