mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
MADS: Fix horizontal background scrolling in animations
This commit is contained in:
1 parent
1e9cf1b646
commit
175d027a80
1 file changed
+1
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user