aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/dreamweb/object.cpp6
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;
}
}