aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;