From 175d027a80da9b2180e6e4fb397e5799298dfbf8 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sun, 12 Oct 2014 14:32:40 -0400 Subject: MADS: Fix horizontal background scrolling in animations --- engines/mads/screen.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/mads/screen.cpp') 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); -- cgit v1.2.3