aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-02 14:23:45 +0000
committerMax Horn2003-07-02 14:23:45 +0000
commitf27b711e79a5cb96380dc9d39bd54acccbe60121 (patch)
treef6d3b9391a8e8e536d6793dacaeda067185400c1 /scumm
parenta60998900840f48f00a793dd48c1f838368cb8b2 (diff)
downloadscummvm-rg350-f27b711e79a5cb96380dc9d39bd54acccbe60121.tar.gz
scummvm-rg350-f27b711e79a5cb96380dc9d39bd54acccbe60121.tar.bz2
scummvm-rg350-f27b711e79a5cb96380dc9d39bd54acccbe60121.zip
fix for bug #753840 (actor placement in V2 games)
svn-id: r8714
Diffstat (limited to 'scumm')
-rw-r--r--scumm/actor.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/actor.cpp b/scumm/actor.cpp
index 5dffa37654..1dfa6e9347 100644
--- a/scumm/actor.cpp
+++ b/scumm/actor.cpp
@@ -906,6 +906,10 @@ void Actor::drawActorCostume() {
bcr->_actorX = x - _vm->virtscr[0].xstart;
bcr->_actorY = y - elevation;
+ if (_vm->_version <= 2) {
+ // We have to adjust the x position by one strip (8 pixels) in V2 games
+ bcr->_actorX += 8;
+ }
bcr->_scaleX = scalex;
bcr->_scaleY = scaley;