diff options
author | Vladimir Menshakov | 2011-06-12 23:21:09 +0400 |
---|---|---|
committer | Alyssa Milburn | 2011-06-15 17:34:37 +0200 |
commit | 6deff847492e33bf270806cacb85ae4db3cc530c (patch) | |
tree | 976564dcd48e5beded544785c30e4ac1a9d39445 /engines | |
parent | 39d8f43bf3371f6617b831a98c9947a0d6b1a55a (diff) | |
download | scummvm-rg350-6deff847492e33bf270806cacb85ae4db3cc530c.tar.gz scummvm-rg350-6deff847492e33bf270806cacb85ae4db3cc530c.tar.bz2 scummvm-rg350-6deff847492e33bf270806cacb85ae4db3cc530c.zip |
DREAMWEB: fixed crash on room changing
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/dreamgen.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/dreamweb/dreamgen.cpp b/engines/dreamweb/dreamgen.cpp index 01992eda6c..29b0955f07 100644 --- a/engines/dreamweb/dreamgen.cpp +++ b/engines/dreamweb/dreamgen.cpp @@ -17870,6 +17870,9 @@ norun: } void checkcoords(Context & context) { + context._cmp(context.data.byte(kNewlocation), 255); + if (context.flags.z()) goto loop048; + return; loop048: context.ax = context.cs.word(context.bx); context._cmp(context.ax, 0x0ffff); |