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

athrxx at users.sourceforge.net athrxx at users.sourceforge.net
Sat Apr 26 00:38:40 CEST 2008


Revision: 31728
          http://scummvm.svn.sourceforge.net/scummvm/?rev=31728&view=rev
Author:   athrxx
Date:     2008-04-25 15:38:40 -0700 (Fri, 25 Apr 2008)

Log Message:
-----------
minor drawShape() bug fix for Malcolm's shadow

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

Modified: scummvm/trunk/engines/kyra/screen.cpp
===================================================================
--- scummvm/trunk/engines/kyra/screen.cpp	2008-04-25 17:59:38 UTC (rev 31727)
+++ scummvm/trunk/engines/kyra/screen.cpp	2008-04-25 22:38:40 UTC (rev 31728)
@@ -1181,7 +1181,7 @@
 		&Screen::drawShapePlotType0,		// used by Kyra 1 + 2
 		&Screen::drawShapePlotType1,		// used by Kyra 3
 		0,
-		&Screen::drawShapePlotType3_7,		// used by Kyra 1 (invisibility)
+		&Screen::drawShapePlotType3_7,		// used by Kyra 3 (shadow)
 		&Screen::drawShapePlotType4,		// used by Kyra 1, 2 + 3
 		&Screen::drawShapePlotType5,		// used by Kyra 1
 		&Screen::drawShapePlotType6,		// used by Kyra 1 (invisibility)
@@ -1189,7 +1189,7 @@
 		&Screen::drawShapePlotType8,		// used by Kyra 2
 		&Screen::drawShapePlotType9,		// used by Kyra 1 + 3
 		0, 
-		&Screen::drawShapePlotType11_15,	// used by Kyra 1 /invisibility)
+		&Screen::drawShapePlotType11_15,	// used by Kyra 1 (invisibility) + Kyra 3 (shadow)
 		&Screen::drawShapePlotType12,		// used by Kyra 2
 		&Screen::drawShapePlotType13,		// used by Kyra 1
 		&Screen::drawShapePlotType14,		// used by Kyra 1 (invisibility)
@@ -1635,7 +1635,7 @@
 }
 
 void Screen::drawShapePlotType3_7(uint8 *dst, uint8 cmd) {
-	cmd = dst[cmd];
+	cmd = *dst;
 	for (int i = 0; i < _dsTableLoopCount; ++i)
 		cmd = _dsTable[cmd];
 


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