[Scummvm-cvs-logs] scummvm master -> 45e61b985c200a9189d172e8a1410915e7f81f95

dreammaster dreammaster at scummvm.org
Sun Feb 5 10:33:05 CET 2012


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:
45e61b985c TSAGE: Fix problem with scrolling wide scenes.


Commit: 45e61b985c200a9189d172e8a1410915e7f81f95
    https://github.com/scummvm/scummvm/commit/45e61b985c200a9189d172e8a1410915e7f81f95
Author: Paul Gilbert (dreammaster at scummvm.org)
Date: 2012-02-05T01:31:56-08:00

Commit Message:
TSAGE: Fix problem with scrolling wide scenes.

Changed paths:
    engines/tsage/graphics.cpp



diff --git a/engines/tsage/graphics.cpp b/engines/tsage/graphics.cpp
index 5acd191..3bcad91 100644
--- a/engines/tsage/graphics.cpp
+++ b/engines/tsage/graphics.cpp
@@ -602,7 +602,7 @@ void GfxSurface::copyFrom(GfxSurface &src, Rect srcBounds, Rect destBounds, Regi
 		destBounds.bottom = destSurface.h;
 
 	if (destBounds.isValidRect() && !((destBounds.right < 0) || (destBounds.bottom < 0)
-			|| (destBounds.left >= SCREEN_WIDTH) || (destBounds.top >= SCREEN_HEIGHT))) {
+		|| (destBounds.left >= destSurface.w) || (destBounds.top >= destSurface.h))) {
 		// Register the affected area as dirty
 		addDirtyRect(destBounds);
 






More information about the Scummvm-git-logs mailing list