diff options
author | Willem Jan Palenstijn | 2011-12-17 19:18:57 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2011-12-17 19:19:08 +0100 |
commit | b8ab0e62177916f82131b884d118a23e1afb3407 (patch) | |
tree | f0d0e5cb33cacfad5a388a54ae5317a726ba5ce2 /engines/dreamweb | |
parent | 6dd09b8935495d211c51a45652fc59b4da1b0442 (diff) | |
download | scummvm-rg350-b8ab0e62177916f82131b884d118a23e1afb3407.tar.gz scummvm-rg350-b8ab0e62177916f82131b884d118a23e1afb3407.tar.bz2 scummvm-rg350-b8ab0e62177916f82131b884d118a23e1afb3407.zip |
DREAMWEB: Fix regression in getOpenedSize
Diffstat (limited to 'engines/dreamweb')
-rw-r--r-- | engines/dreamweb/object.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp index 29e6d52ba7..5bdfc07496 100644 --- a/engines/dreamweb/object.cpp +++ b/engines/dreamweb/object.cpp @@ -311,11 +311,11 @@ byte DreamGenContext::getOpenedSizeCPP() { byte obj = data.byte(kOpenedob); switch (data.byte(kOpenedtype)) { case 4: - return getExAd(obj)->b7; + return getExAd(obj)->b8; case 2: - return getFreeAd(obj)->b7; + return getFreeAd(obj)->b8; default: - return getSetAd(obj)->b3; + return getSetAd(obj)->b4; } } |