[Scummvm-cvs-logs] SF.net SVN: scummvm: [31555] scummvm/trunk/engines/kyra/screen.cpp

lordhoto at users.sourceforge.net lordhoto at users.sourceforge.net
Fri Apr 18 00:50:16 CEST 2008


Revision: 31555
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31555&view=rev
Author:   lordhoto
Date:     2008-04-17 15:50:15 -0700 (Thu, 17 Apr 2008)

Log Message:
-----------
Little fix in drawShape.

Modified Paths:
--------------
    scummvm/trunk/engines/kyra/screen.cpp

Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp	2008-04-17 22:07:17 UTC (rev 31554)
+++ scummvm/trunk/engines/kyra/screen.cpp	2008-04-17 22:50:15 UTC (rev 31555)
@@ -1381,8 +1381,6 @@
 	uint8 *d = dst;
 
 	while (shapeHeight--) {
-		++curY;
-
 		bool normalPlot = true;
 		if (flags & 0x800)
 			normalPlot = (curY > _maskMinY && curY < _maskMaxY);
@@ -1415,6 +1413,7 @@
 			}
 			dst += dsPitch;
 			d = dst;
+			++curY;
 			scaleCounterV -= 256;
 		} while (scaleCounterV & 0xff00);
 	}


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