diff options
author | Paul Gilbert | 2010-06-26 00:37:44 +0000 |
---|---|---|
committer | Paul Gilbert | 2010-06-26 00:37:44 +0000 |
commit | 70e4a8605b85abf3edb83afe2df0ca8992e79f20 (patch) | |
tree | e3bed91eaa656b203e764baf561fa2fe7e112dc6 | |
parent | ab261facee90ede5dd7dd5bf38262745eef3e946 (diff) | |
download | scummvm-rg350-70e4a8605b85abf3edb83afe2df0ca8992e79f20.tar.gz scummvm-rg350-70e4a8605b85abf3edb83afe2df0ca8992e79f20.tar.bz2 scummvm-rg350-70e4a8605b85abf3edb83afe2df0ca8992e79f20.zip |
Minor bugfix for correctly positioning where background sprites are drawn
svn-id: r50298
-rw-r--r-- | engines/m4/mads_views.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/m4/mads_views.cpp b/engines/m4/mads_views.cpp index 1184ab81e7..dd5eb7a266 100644 --- a/engines/m4/mads_views.cpp +++ b/engines/m4/mads_views.cpp @@ -158,11 +158,11 @@ void MadsSpriteSlots::drawBackground(int yOffset) { if (slot.depth > 1) { // Draw the frame with depth processing - _owner._bgSurface->copyFrom(frame, xp, yp, Common::Point(0, yOffset), slot.depth, + _owner._bgSurface->copyFrom(frame, xp, yp, Common::Point(), slot.depth, _owner._depthSurface, 100, frame->getTransparencyIndex()); } else { // No depth, so simply draw the image - frame->copyTo(_owner._bgSurface, xp, yp + yOffset, frame->getTransparencyIndex()); + frame->copyTo(_owner._bgSurface, xp, yp, frame->getTransparencyIndex()); } } } |