[Scummvm-cvs-logs] SF.net SVN: scummvm:[54635]	scummvm/trunk/engines/mohawk/graphics.cpp
    bgk at users.sourceforge.net 
    bgk at users.sourceforge.net
       
    Mon Nov 29 22:00:37 CET 2010
    
    
  
Revision: 54635
          http://scummvm.svn.sourceforge.net/scummvm/?rev=54635&view=rev
Author:   bgk
Date:     2010-11-29 21:00:37 +0000 (Mon, 29 Nov 2010)
Log Message:
-----------
MOHAWK: Fix drawing the last step of an animated update
Modified Paths:
--------------
    scummvm/trunk/engines/mohawk/graphics.cpp
Modified: scummvm/trunk/engines/mohawk/graphics.cpp
===================================================================
--- scummvm/trunk/engines/mohawk/graphics.cpp	2010-11-29 21:00:23 UTC (rev 54634)
+++ scummvm/trunk/engines/mohawk/graphics.cpp	2010-11-29 21:00:37 UTC (rev 54635)
@@ -364,7 +364,7 @@
 				_dirtyRects.push_back(area);
 				updateScreen();
 			}
-			if (area.top < rect.bottom) {
+			if (area.bottom < rect.bottom) {
 				area.top = area.bottom;
 				area.bottom = rect.bottom;
 
@@ -387,7 +387,7 @@
 				_dirtyRects.push_back(area);
 				updateScreen();
 			}
-			if (area.bottom > rect.top) {
+			if (area.top > rect.top) {
 				area.bottom = area.top;
 				area.top = rect.top;
 
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