[Scummvm-cvs-logs] SF.net SVN: scummvm:[36214] scummvm/trunk/engines/tinsel/object.cpp

joostp at users.sourceforge.net joostp at users.sourceforge.net
Wed Feb 4 17:08:33 CET 2009


Revision: 36214
          http://scummvm.svn.sourceforge.net/scummvm/?rev=36214&view=rev
Author:   joostp
Date:     2009-02-04 16:08:32 +0000 (Wed, 04 Feb 2009)

Log Message:
-----------
endian fix

Modified Paths:
--------------
    scummvm/trunk/engines/tinsel/object.cpp

Modified: scummvm/trunk/engines/tinsel/object.cpp
===================================================================
--- scummvm/trunk/engines/tinsel/object.cpp	2009-02-04 05:54:22 UTC (rev 36213)
+++ scummvm/trunk/engines/tinsel/object.cpp	2009-02-04 16:08:32 UTC (rev 36214)
@@ -442,7 +442,7 @@
 			pAniObj->width  = FROM_LE_16(pNewImg->imgWidth);
 			pAniObj->height = FROM_LE_16(pNewImg->imgHeight) & ~C16_FLAG_MASK;
 			newflags &= ~C16_FLAG_MASK;
-			newflags |= pNewImg->imgHeight & C16_FLAG_MASK;
+			newflags |= FROM_LE_16(pNewImg->imgHeight) & C16_FLAG_MASK;
 
 			// set objects bitmap definition
 			pAniObj->hBits  = FROM_LE_32(pNewImg->hImgBits);


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