diff options
| author | Max Horn | 2003-06-20 10:53:06 +0000 |
|---|---|---|
| committer | Max Horn | 2003-06-20 10:53:06 +0000 |
| commit | f301d1fa47f1218b7d2817ada2c70fc91b49e7fb (patch) | |
| tree | d41e878487884dca6e5bf6e8e5bf4b16716f0be7 /scumm/object.cpp | |
| parent | 2a1b3d633d2ed96a9d51a517c67e95575296502e (diff) | |
| download | scummvm-rg350-f301d1fa47f1218b7d2817ada2c70fc91b49e7fb.tar.gz scummvm-rg350-f301d1fa47f1218b7d2817ada2c70fc91b49e7fb.tar.bz2 scummvm-rg350-f301d1fa47f1218b7d2817ada2c70fc91b49e7fb.zip | |
fixed Zak256 (and possibly other V3 games); Not quite sure if the behaviour is correct for V4 games, that needs testing
svn-id: r8568
Diffstat (limited to 'scumm/object.cpp')
| -rw-r--r-- | scumm/object.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/object.cpp b/scumm/object.cpp index 06e660b404..cb23185a69 100644 --- a/scumm/object.cpp +++ b/scumm/object.cpp @@ -932,7 +932,10 @@ const byte *Scumm::getObjOrActorName(int obj) { offset = *(objptr + 14); else if (_features & GF_OLD_BUNDLE) offset = *(objptr + 16); + else if (_version == 3) + offset = *(objptr + 18); else + // FIXME: is this really correct? offset = READ_LE_UINT16(objptr + 18); return (objptr + offset); |
