[Scummvm-cvs-logs] scummvm master -> 175d027a80da9b2180e6e4fb397e5799298dfbf8

dreammaster dreammaster at scummvm.org
Sun Oct 12 20:33:18 CEST 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
175d027a80 MADS: Fix horizontal background scrolling in animations


Commit: 175d027a80da9b2180e6e4fb397e5799298dfbf8
    https://github.com/scummvm/scummvm/commit/175d027a80da9b2180e6e4fb397e5799298dfbf8
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2014-10-12T14:32:40-04:00

Commit Message:
MADS: Fix horizontal background scrolling in animations

Changed paths:
    engines/mads/screen.cpp



diff --git a/engines/mads/screen.cpp b/engines/mads/screen.cpp
index 590e63a..c9a0863 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);






More information about the Scummvm-git-logs mailing list