[Scummvm-cvs-logs] SF.net SVN: scummvm: [30805] scummvm/trunk/engines/parallaction/disk_br.cpp
peres001 at users.sourceforge.net
peres001 at users.sourceforge.net
Wed Feb 6 14:44:01 CET 2008
Revision: 30805
http://scummvm.svn.sourceforge.net/scummvm/?rev=30805&view=rev
Author: peres001
Date: 2008-02-06 05:44:01 -0800 (Wed, 06 Feb 2008)
Log Message:
-----------
Corrected mask and path loading in BRA.
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-02-05 23:24:09 UTC (rev 30804)
+++ scummvm/trunk/engines/parallaction/disk_br.cpp 2008-02-06 13:44:01 UTC (rev 30805)
@@ -345,7 +345,7 @@
// NOTE: info.width and info.height are only valid if the background graphics
// have already been loaded
info.mask.create(info.width, info.height);
- stream.read(info.mask.data, info.width * info.height);
+ stream.read(info.mask.data, info.mask.size);
stream.close();
}
@@ -357,7 +357,7 @@
// NOTE: info.width and info.height are only valid if the background graphics
// have already been loaded
info.path.create(info.width, info.height);
- stream.read(info.path.data, info.width * info.height);
+ stream.read(info.path.data, info.path.size);
stream.close();
}
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