aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorRobert Crossfield2016-12-27 10:21:23 +1100
committerRobert Crossfield2016-12-27 10:21:23 +1100
commitc95b6a9f8db08d57a9e6a553fd68ece00d777315 (patch)
tree9a5542f001f117fbf6a75a01f4e71872e5980f87 /engines
parent485f26e4d6d60c48529f4b336dee05d7d70a855f (diff)
downloadscummvm-rg350-c95b6a9f8db08d57a9e6a553fd68ece00d777315.tar.gz
scummvm-rg350-c95b6a9f8db08d57a9e6a553fd68ece00d777315.tar.bz2
scummvm-rg350-c95b6a9f8db08d57a9e6a553fd68ece00d777315.zip
SCUMM: Fix bug #6817 (V1 Actors drawn 1 line too high)
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/costume.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/engines/scumm/costume.cpp b/engines/scumm/costume.cpp
index 7470f13fa2..dc29414623 100644
--- a/engines/scumm/costume.cpp
+++ b/engines/scumm/costume.cpp
@@ -114,6 +114,10 @@ byte ClassicCostumeRenderer::mainRoutine(int xmoveCur, int ymoveCur) {
v1.x = _actorX;
v1.y = _actorY;
+ // V0/V1 games are off by 1
+ if (_vm->_game.version <= 1)
+ v1.y += 1;
+
if (use_scaling) {
/* Scale direction */