aboutsummaryrefslogtreecommitdiff
path: root/engines/kyra/engine
diff options
context:
space:
mode:
authorathrxx2019-03-26 22:31:27 +0100
committerathrxx2019-04-13 18:54:59 +0200
commit4b15576fcb69bda418c0ef12728761f060a1bd21 (patch)
treeff8ae1f768f414c30aca8679a734f92bdbdc4d25 /engines/kyra/engine
parent82b288a5107e9f15ed2d25dac017e54e915323b8 (diff)
downloadscummvm-rg350-4b15576fcb69bda418c0ef12728761f060a1bd21.tar.gz
scummvm-rg350-4b15576fcb69bda418c0ef12728761f060a1bd21.tar.bz2
scummvm-rg350-4b15576fcb69bda418c0ef12728761f060a1bd21.zip
KYRA: (EOB2/Amiga) - fix monster shape encoding
Diffstat (limited to 'engines/kyra/engine')
-rw-r--r--engines/kyra/engine/scene_eob.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/kyra/engine/scene_eob.cpp b/engines/kyra/engine/scene_eob.cpp
index f47e0d2a0d..f010069f63 100644
--- a/engines/kyra/engine/scene_eob.cpp
+++ b/engines/kyra/engine/scene_eob.cpp
@@ -263,7 +263,7 @@ Common::String EoBCoreEngine::initLevelData(int sub) {
} else {
if (*pos++ != 0xEC)
continue;
- loadMonsterShapes((const char *)(pos + 2), pos[1] * 18, pos[15] ? true : false, *pos * 18);
+ loadMonsterShapes((const char *)(pos + 2), pos[1] * 18, pos[15] ? true : false, *pos * (_flags.platform == Common::kPlatformAmiga ? 6 : 18));
pos += 16;
}
}