aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm
diff options
context:
space:
mode:
authorTravis Howell2009-10-22 09:13:45 +0000
committerTravis Howell2009-10-22 09:13:45 +0000
commitebd04d4479c56297e45581ae6bcbc66b47cd1c1c (patch)
treecbcbe4004f8617b2f89e7528338404761486a041 /engines/scumm
parent8f0e47e671046707bd03c71772a6bde5e3e9b7d9 (diff)
downloadscummvm-rg350-ebd04d4479c56297e45581ae6bcbc66b47cd1c1c.tar.gz
scummvm-rg350-ebd04d4479c56297e45581ae6bcbc66b47cd1c1c.tar.bz2
scummvm-rg350-ebd04d4479c56297e45581ae6bcbc66b47cd1c1c.zip
Fix verb display in PCE version of Loom.
svn-id: r45333
Diffstat (limited to 'engines/scumm')
-rw-r--r--engines/scumm/verbs.cpp9
1 files changed, 7 insertions, 2 deletions
diff --git a/engines/scumm/verbs.cpp b/engines/scumm/verbs.cpp
index 06ff84fcd2..e5fac901bf 100644
--- a/engines/scumm/verbs.cpp
+++ b/engines/scumm/verbs.cpp
@@ -1361,8 +1361,13 @@ void ScummEngine::drawVerbBitmap(int verb, int x, int y) {
} else if (_game.features & GF_SMALL_HEADER) {
size = READ_LE_UINT32(obim);
- imgw = (*(obim + size + 11));
- imgh = (*(obim + size + 17)) / 8;
+ if (_game.id == GID_LOOM && _game.platform == Common::kPlatformPCEngine) {
+ imgw = (*(obim + size + 10));
+ imgh = (*(obim + size + 15)) / 8;
+ } else {
+ imgw = (*(obim + size + 11));
+ imgh = (*(obim + size + 17)) / 8;
+ }
imptr = getObjectImage(obim, 1);
} else {
const ImageHeader *imhd = (const ImageHeader *)findResourceData(MKID_BE('IMHD'), obim);