aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTravis Howell2009-10-23 12:50:51 +0000
committerTravis Howell2009-10-23 12:50:51 +0000
commit8bb99f4571302fd8b0c7dc01e2a67500083bac74 (patch)
treefd6430b0fd47411766dffcd8129a52d646e943b6 /engines
parent9c9181eed6c650cedd359f56f36c3418eefb3e9e (diff)
downloadscummvm-rg350-8bb99f4571302fd8b0c7dc01e2a67500083bac74.tar.gz
scummvm-rg350-8bb99f4571302fd8b0c7dc01e2a67500083bac74.tar.bz2
scummvm-rg350-8bb99f4571302fd8b0c7dc01e2a67500083bac74.zip
Fix object names in PCE version of Loom.
svn-id: r45346
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/object.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/scumm/object.cpp b/engines/scumm/object.cpp
index 4466ced2cc..43143a0187 100644
--- a/engines/scumm/object.cpp
+++ b/engines/scumm/object.cpp
@@ -1176,6 +1176,8 @@ const byte *ScummEngine::getObjOrActorName(int obj) {
offset = *(objptr + 14);
else if (_game.features & GF_OLD_BUNDLE)
offset = *(objptr + 16);
+ else if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine)
+ offset = *(objptr + 16) + 17;
else
offset = *(objptr + 18);