diff options
author | Paweł Kołodziejski | 2003-04-26 16:56:59 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-04-26 16:56:59 +0000 |
commit | 64e5240efdc937174259827bbd8c287a6bc43510 (patch) | |
tree | b092ba04e6b06df37bb3a453fbefdd9476f7e952 /scumm/script_v2.cpp | |
parent | 7a5438a59269eb9224e1b0745bfda9d4f18925d3 (diff) | |
download | scummvm-rg350-64e5240efdc937174259827bbd8c287a6bc43510.tar.gz scummvm-rg350-64e5240efdc937174259827bbd8c287a6bc43510.tar.bz2 scummvm-rg350-64e5240efdc937174259827bbd8c287a6bc43510.zip |
fixed offsets for object names for scumm v2
svn-id: r7142
Diffstat (limited to 'scumm/script_v2.cpp')
-rw-r--r-- | scumm/script_v2.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 33df291f4d..f9813101fc 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -1312,7 +1312,7 @@ void Scumm_v2::o2_setObjectName() { byte offset = 0; objptr = getOBCDFromObject(obj); - offset = *(objptr + 18); + offset = *(objptr + 14); size = READ_LE_UINT16(objptr) - offset; if (i >= size) { |