diff options
author | Willem Jan Palenstijn | 2011-12-17 23:16:36 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-17 23:16:36 +0100 |
commit | 10e163761223b919533ad8ff71d05f90001d6fb8 (patch) | |
tree | 70b5d36bda01133ab980c643475688e54036c9a5 /engines | |
parent | 30089ec31504c862d4ad4317075af600d38a79a8 (diff) | |
download | scummvm-rg350-10e163761223b919533ad8ff71d05f90001d6fb8.tar.gz scummvm-rg350-10e163761223b919533ad8ff71d05f90001d6fb8.tar.bz2 scummvm-rg350-10e163761223b919533ad8ff71d05f90001d6fb8.zip |
DREAMWEB: Fix regressions in findExObject, findSetObject
Diffstat (limited to 'engines')
-rw-r--r-- | engines/dreamweb/stubs.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index eea38eb196..7f1824d2bb 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1745,6 +1745,7 @@ void DreamGenContext::findSetObject() { id[3] = ch; id[4] = '\0'; al = findSetObject(id); + es = data.word(kSetdat); bx = al * 64; } @@ -1765,7 +1766,8 @@ void DreamGenContext::findExObject() { id[3] = ch; id[4] = '\0'; al = findExObject(id); - bx = al * 16; + es = data.word(kExtras); + bx = kExdata + al * 16; } uint16 DreamGenContext::findExObject(const char *id) { |