diff options
author | Filippos Karapetis | 2011-12-15 00:18:27 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-15 00:18:27 +0200 |
commit | f0b0f25bd6165becd995aedd09cf46de6db3bbba (patch) | |
tree | bda76af6f6553cf4a3b60ecbd8df6598e7b4f9d9 | |
parent | ea8b6c8c6dd43ed0c645927966e4150cc987b5c6 (diff) | |
download | scummvm-rg350-f0b0f25bd6165becd995aedd09cf46de6db3bbba.tar.gz scummvm-rg350-f0b0f25bd6165becd995aedd09cf46de6db3bbba.tar.bz2 scummvm-rg350-f0b0f25bd6165becd995aedd09cf46de6db3bbba.zip |
DREAMWEB: Properly set bx in findSetObject() and findExObject()
-rw-r--r-- | engines/dreamweb/stubs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/dreamweb/stubs.cpp b/engines/dreamweb/stubs.cpp index 21173f8e3b..a3acfe8e37 100644 --- a/engines/dreamweb/stubs.cpp +++ b/engines/dreamweb/stubs.cpp @@ -1781,6 +1781,7 @@ void DreamGenContext::findSetObject() { id[3] = ch; id[4] = '\0'; al = findSetObject(id); + bx = al * 64; } uint16 DreamGenContext::findSetObject(const char *id) { @@ -1802,6 +1803,7 @@ void DreamGenContext::findExObject() { id[3] = ch; id[4] = '\0'; al = findExObject(id); + bx = al * 16; } uint16 DreamGenContext::findExObject(const char *id) { |