[Scummvm-cvs-logs] SF.net SVN: scummvm:[33375] scummvm/trunk/engines/parallaction/disk_br.cpp

peres001 at users.sourceforge.net peres001 at users.sourceforge.net
Mon Jul 28 16:02:46 CEST 2008


Revision: 33375
          http://scummvm.svn.sourceforge.net/scummvm/?rev=33375&view=rev
Author:   peres001
Date:     2008-07-28 14:02:46 +0000 (Mon, 28 Jul 2008)

Log Message:
-----------
Fixed loading of static items.

Modified Paths:
--------------
    scummvm/trunk/engines/parallaction/disk_br.cpp

Modified: scummvm/trunk/engines/parallaction/disk_br.cpp
===================================================================
--- scummvm/trunk/engines/parallaction/disk_br.cpp	2008-07-28 13:35:33 UTC (rev 33374)
+++ scummvm/trunk/engines/parallaction/disk_br.cpp	2008-07-28 14:02:46 UTC (rev 33375)
@@ -193,6 +193,7 @@
 void DosDisk_br::loadBitmap(Common::SeekableReadStream &stream, Graphics::Surface &surf, byte *palette) {
 	stream.skip(4);
 	uint width = stream.readUint32BE();
+	if (width & 1) width++;
 	uint height = stream.readUint32BE();
 	stream.skip(20);
 


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