[Scummvm-cvs-logs] SF.net SVN: scummvm:[44031] scummvm/trunk/engines/cruise/mainDraw.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Fri Sep 11 13:02:18 CEST 2009


Revision: 44031
          http://scummvm.svn.sourceforge.net/scummvm/?rev=44031&view=rev
Author:   dreammaster
Date:     2009-09-11 11:02:15 +0000 (Fri, 11 Sep 2009)

Log Message:
-----------
Bugfix for the boundaries of changing objects used for dirty rect calculations

Modified Paths:
--------------
    scummvm/trunk/engines/cruise/mainDraw.cpp

Modified: scummvm/trunk/engines/cruise/mainDraw.cpp
===================================================================
--- scummvm/trunk/engines/cruise/mainDraw.cpp	2009-09-11 10:22:32 UTC (rev 44030)
+++ scummvm/trunk/engines/cruise/mainDraw.cpp	2009-09-11 11:02:15 UTC (rev 44031)
@@ -1211,7 +1211,7 @@
 	int y = 0;
 
 	// Flag the given area as having been changed
-	gfxModuleData_addDirtyRect(Common::Rect(xs, ys, xs + width - 1, ys + height - 1));
+	gfxModuleData_addDirtyRect(Common::Rect(xs, ys, xs + width, ys + height));
 
 	cellStruct* plWork = currentObjPtr;
 	int workBufferSize = height * (width / 8);


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list