[Scummvm-cvs-logs] SF.net SVN: scummvm:[50492] scummvm/trunk/engines/m4/animation.cpp

dreammaster at users.sourceforge.net dreammaster at users.sourceforge.net
Tue Jun 29 13:26:48 CEST 2010


Revision: 50492
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50492&view=rev
Author:   dreammaster
Date:     2010-06-29 11:26:48 +0000 (Tue, 29 Jun 2010)

Log Message:
-----------
Changed reading of sprite frame depths to signed bytes - this fixes the problem with the Slippery Pig not showing up in the landing scene in the intro sequence

Modified Paths:
--------------
    scummvm/trunk/engines/m4/animation.cpp

Modified: scummvm/trunk/engines/m4/animation.cpp
===================================================================
--- scummvm/trunk/engines/m4/animation.cpp	2010-06-29 11:15:21 UTC (rev 50491)
+++ scummvm/trunk/engines/m4/animation.cpp	2010-06-29 11:26:48 UTC (rev 50492)
@@ -183,7 +183,7 @@
 			rec.spriteSlot.frameNumber = animStream->readUint16LE();
 			rec.spriteSlot.xp = animStream->readSint16LE();
 			rec.spriteSlot.yp = animStream->readSint16LE();
-			rec.spriteSlot.depth = animStream->readByte();
+			rec.spriteSlot.depth = animStream->readSByte();
 			rec.spriteSlot.scale = (int8)animStream->readByte();
 
 			_frameEntries.push_back(rec);


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