fixed Zak256 (and possibly other V3 games); Not quite sure if the behaviour is correct for V4 games, that needs testing

svn-id: r8568
This commit is contained in:
Max Horn 2003-06-20 10:53:06 +00:00
parent 2a1b3d633d
commit f301d1fa47
2 changed files with 12 additions and 5 deletions

View file

@ -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);