diff options
author | Filippos Karapetis | 2011-12-17 16:32:12 +0200 |
---|---|---|
committer | Filippos Karapetis | 2011-12-17 16:32:12 +0200 |
commit | 9fdb38d39510d81de43c887e95bae5b6e6a91156 (patch) | |
tree | 9730424e757eea661f40de72147bf5adeb6c9207 | |
parent | 400bda78d2ad98c7671c384e58cb6d74ba7579fd (diff) | |
download | scummvm-rg350-9fdb38d39510d81de43c887e95bae5b6e6a91156.tar.gz scummvm-rg350-9fdb38d39510d81de43c887e95bae5b6e6a91156.tar.bz2 scummvm-rg350-9fdb38d39510d81de43c887e95bae5b6e6a91156.zip |
DREAMWEB: Fix another regression in the ASM-style version of getOpenedSize()
-rw-r--r-- | engines/dreamweb/object.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp index dbae7e2ba5..29e6d52ba7 100644 --- a/engines/dreamweb/object.cpp +++ b/engines/dreamweb/object.cpp @@ -294,16 +294,17 @@ void DreamGenContext::getOpenedSize() { switch (data.byte(kOpenedtype)) { case 4: getExAd(); + ax = es.word(bx+7); break; case 2: getFreeAd(); + ax = es.word(bx+7); break; default: getSetAd(); + ax = es.word(bx+3); break; } - - ax = es.word(bx+7); } byte DreamGenContext::getOpenedSizeCPP() { |