aboutsummaryrefslogtreecommitdiff
path: root/engines/dreamweb
diff options
context:
space:
mode:
authorWillem Jan Palenstijn2011-12-26 17:26:35 +0100
committerWillem Jan Palenstijn2011-12-26 17:27:17 +0100
commitc60ce59aa443471f22f9254dd6bc3810324cd672 (patch)
treefe4046c116fe87b19918aa53a7fb5f29ed8ef7e5 /engines/dreamweb
parent3cd4d1493a2bea9fcb2a9cf2df9ec5c007483334 (diff)
downloadscummvm-rg350-c60ce59aa443471f22f9254dd6bc3810324cd672.tar.gz
scummvm-rg350-c60ce59aa443471f22f9254dd6bc3810324cd672.tar.bz2
scummvm-rg350-c60ce59aa443471f22f9254dd6bc3810324cd672.zip
DREAMWEB: Fix regression in transferToEx
Diffstat (limited to 'engines/dreamweb')
-rw-r--r--engines/dreamweb/object.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/dreamweb/object.cpp b/engines/dreamweb/object.cpp
index a7a7814db3..b246323e9d 100644
--- a/engines/dreamweb/object.cpp
+++ b/engines/dreamweb/object.cpp
@@ -1052,7 +1052,7 @@ byte DreamGenContext::transferToEx() {
freeObject = getFreeAd(data.byte(kItemframe));
freeObject->mapad[0] = 254;
ds = data.word(kFreedat);
- si = data.byte(kItemframe);
+ si = data.byte(kItemframe) * sizeof(DynObject);
pickupConts();
return pos;
}