aboutsummaryrefslogtreecommitdiff
path: root/engines/mads
diff options
context:
space:
mode:
authorPaul Gilbert2014-10-12 14:32:40 -0400
committerPaul Gilbert2014-10-12 14:32:40 -0400
commit175d027a80da9b2180e6e4fb397e5799298dfbf8 (patch)
tree6c8f923f277847ff873ac245128cd64a5bd11a20 /engines/mads
parent1e9cf1b646b5b66114bdabfbc2a8c467582e5683 (diff)
downloadscummvm-rg350-175d027a80da9b2180e6e4fb397e5799298dfbf8.tar.gz
scummvm-rg350-175d027a80da9b2180e6e4fb397e5799298dfbf8.tar.bz2
scummvm-rg350-175d027a80da9b2180e6e4fb397e5799298dfbf8.zip
MADS: Fix horizontal background scrolling in animations
Diffstat (limited to 'engines/mads')
-rw-r--r--engines/mads/screen.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 590e63ac9e..c9a0863d85 100644
--- a/engines/mads/screen.cpp
+++ b/engines/mads/screen.cpp
@@ -212,7 +212,7 @@ void DirtyAreas::copy(MSurface *srcSurface, MSurface *destSurface, const Common:
Common::Rect bounds(srcBounds.left + posAdjust.x, srcBounds.top + posAdjust.y,
srcBounds.right + posAdjust.x, srcBounds.bottom + posAdjust.y);
- Common::Point destPos(bounds.left, bounds.top);
+ Common::Point destPos(srcBounds.left, srcBounds.top);
if ((*this)[i]._active && bounds.isValidRect()) {
srcSurface->copyTo(destSurface, bounds, destPos);