aboutsummaryrefslogtreecommitdiff
path: root/engines/scumm/costume.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2017-01-13 22:40:02 +0100
committerGitHub2017-01-13 22:40:02 +0100
commit059cfbf69182f2a3f44fe1ab9680d012ce22884d (patch)
tree3a679839a66fcdcd9d4a3f19c4e68286762a285c /engines/scumm/costume.cpp
parent1c203ea249e73f940a524b08d7aade1e8b40adb2 (diff)
parentc95b6a9f8db08d57a9e6a553fd68ece00d777315 (diff)
downloadscummvm-rg350-059cfbf69182f2a3f44fe1ab9680d012ce22884d.tar.gz
scummvm-rg350-059cfbf69182f2a3f44fe1ab9680d012ce22884d.tar.bz2
scummvm-rg350-059cfbf69182f2a3f44fe1ab9680d012ce22884d.zip
Merge pull request #875 from segrax/master
SCUMM: V0/V1: Fix two graphical issues
Diffstat (limited to 'engines/scumm/costume.cpp')
-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 */