aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-04-26 16:52:11 +0000
committerMax Horn2003-04-26 16:52:11 +0000
commit7a5438a59269eb9224e1b0745bfda9d4f18925d3 (patch)
tree7c0abd30cb605d71efc9b9be62acba897f03134d /scumm
parent35955dd35acbb1101ae01120bb980a74d27eb016 (diff)
downloadscummvm-rg350-7a5438a59269eb9224e1b0745bfda9d4f18925d3.tar.gz
scummvm-rg350-7a5438a59269eb9224e1b0745bfda9d4f18925d3.tar.bz2
scummvm-rg350-7a5438a59269eb9224e1b0745bfda9d4f18925d3.zip
also fix o5_setObjectName for Indy/Loom
svn-id: r7141
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v5.cpp b/scumm/script_v5.cpp
index 87649ce807..b6d220a926 100644
--- a/scumm/script_v5.cpp
+++ b/scumm/script_v5.cpp
@@ -1907,7 +1907,7 @@ void Scumm_v5::o5_setObjectName() {
objptr = getOBCDFromObject(obj);
if (_features & GF_OLD_BUNDLE)
- offset = *(objptr + 20);
+ offset = *(objptr + 16);
else
offset = READ_LE_UINT16(objptr + 18);
size = READ_LE_UINT16(objptr) - offset;