Skip to content

Commit

Permalink
MADS: Fix horizontal background scrolling in animations
Browse files Browse the repository at this point in the history
  • Loading branch information
dreammaster committed Oct 12, 2014
1 parent 1e9cf1b commit 175d027
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engines/mads/screen.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 175d027

Please sign in to comment.