From a5748a34afe9ae837b14f26f69d6b3518ef91966 Mon Sep 17 00:00:00 2001 From: Vladimir Menshakov Date: Fri, 24 Jun 2011 09:34:23 +0400 Subject: DREAMWEB: Fixed continuing to another procedure. (axe misuse crash) --- engines/dreamweb/dreamgen.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines/dreamweb') diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index e92cd83c2b..a5a4748948 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -3482,6 +3482,7 @@ atlast4: bx = pop(); es = pop(); data.byte(kLockstatus) = 1; + return; /*continuing to unbounded code: shutdoor from dodoor:60-87*/ shutdoor: cl = es.byte(bx+19); @@ -6737,6 +6738,7 @@ doopeninv: delpointer(); data.byte(kOpenedob) = 255; goto waitexam; + return; /*continuing to unbounded code: examineagain from examineob:3-66*/ examineagain: data.byte(kInmaparea) = 0; @@ -13187,6 +13189,7 @@ void DreamGenContext::useaxe() { return; notinpool: showfirstuse(); + return; /*continuing to unbounded code: axeondoor from useelvdoor:19-30*/ axeondoor: al = 15; -- cgit v1.2.3