From 10e163761223b919533ad8ff71d05f90001d6fb8 Mon Sep 17 00:00:00 2001 From: Willem Jan Palenstijn Date: Sat, 17 Dec 2011 23:16:36 +0100 Subject: DREAMWEB: Fix regressions in findExObject, findSetObject --- engines/dreamweb/stubs.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'engines') 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) { -- cgit v1.2.3