aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorBertrand Augereau2011-07-25 10:46:35 +0200
committerBertrand Augereau2011-07-28 17:26:45 +0200
commitfcd698c289a801e6e6b1e9fb76d22c3753c3ca41 (patch)
treed96412f286ecbfab05f41e5965359e2e36a37ee5 /engines/dreamweb
parentd1812fda52615f62d24b467e5a9c8784ab9e1dfd (diff)
downloadscummvm-rg350-fcd698c289a801e6e6b1e9fb76d22c3753c3ca41.tar.gz
scummvm-rg350-fcd698c289a801e6e6b1e9fb76d22c3753c3ca41.tar.bz2
scummvm-rg350-fcd698c289a801e6e6b1e9fb76d22c3753c3ca41.zip
DREAMWEB: Fixed what is very probably a typo in original code and regenerated the source
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/dreamgen.cpp34
1 files changed, 1 insertions, 33 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp
index c05cab5238..1aac7311d5 100644
--- a/engines/dreamweb/dreamgen.cpp
+++ b/engines/dreamweb/dreamgen.cpp
@@ -3023,7 +3023,7 @@ opendoor2:
goto mustbeopen;
_cmp(data.byte(kLockstatus), 1);
if (flags.z())
- goto shutdoor;
+ goto shutdoor2;
mustbeopen:
cl = es.byte(bx+19);
_cmp(cl, 1);
@@ -3104,38 +3104,6 @@ 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);
- _cmp(cl, 5);
- if (!flags.z())
- goto notdoorsound1;
- al = 1;
- _cmp(data.byte(kReallocation), 5);
- if (!flags.z())
- goto nothoteldoor1;
- al = 13;
-nothoteldoor1:
- playchannel1();
-notdoorsound1:
- _cmp(cl, 0);
- if (flags.z())
- goto atlast2;
- _dec(cl);
- es.byte(bx+19) = cl;
-atlast2:
- ch = 0;
- push(di);
- _add(di, cx);
- al = ds.byte(di+18);
- di = pop();
- es.byte(bx+15) = al;
- ds.byte(di+17) = al;
- _cmp(cl, 5);
- if (!flags.z())
- return /* (notnearly) */;
- data.byte(kThroughdoor) = 0;
}
void DreamGenContext::updatepeople() {