aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorTravis Howell2004-08-10 02:13:25 +0000
committerTravis Howell2004-08-10 02:13:25 +0000
commitca181299d5cf7d1eea5803da6db1c85796406c91 (patch)
tree56c8ea29d3e71723579d22c794209f2f4b3a46a9 /scumm
parent2481ebf89615166f0c268672c083369b76040cb5 (diff)
downloadscummvm-rg350-ca181299d5cf7d1eea5803da6db1c85796406c91.tar.gz
scummvm-rg350-ca181299d5cf7d1eea5803da6db1c85796406c91.tar.bz2
scummvm-rg350-ca181299d5cf7d1eea5803da6db1c85796406c91.zip
Should be 8 pixels for V1 games.
Fixes actors been cut off too early when running off left side of screen in last scene of demo mode of Maniac Mansion. svn-id: r14530
Diffstat (limited to 'scumm')
-rw-r--r--scumm/costume.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp
index f7606c78f8..adf995a9ad 100644
--- a/scumm/costume.cpp
+++ b/scumm/costume.cpp
@@ -249,7 +249,10 @@ byte CostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) {
v1.x = _outwidth - 1;
}
} else {
- skip = -1 - rect.left;
+ if (_loaded._format == 0x57)
+ skip = -8 - rect.left;
+ else
+ skip = -1 - rect.left;
if (skip <= 0)
drawFlag = 2;
else