aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/dreamweb/stubs.cpp4
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) {