[Scummvm-cvs-logs] CVS: scummvm/scumm costume.cpp,1.76,1.77
Max Horn
fingolfin at users.sourceforge.net
Tue Jul 8 09:54:05 CEST 2003
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv11307
Modified Files:
costume.cpp
Log Message:
the 'mask' value is now also right; data at 'r' seems to match, too, and finally the same limbs are used in V1 MM as in V2 MM
Index: costume.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/costume.cpp,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- costume.cpp 8 Jul 2003 16:47:15 -0000 1.76
+++ costume.cpp 8 Jul 2003 16:53:18 -0000 1.77
@@ -629,15 +629,13 @@
return;
}
- // FIXME: Maybe V1 only ready one byte here? At least it seems by comparing the
- // V1 and V2 data that there is a 1-byte len difference.
-/* if (_version == 1) {
+ if (_version == 1) {
+ r += 4;
mask = *r++ << 8;
} else {
-*/
mask = READ_LE_UINT16(r);
r += 2;
-// }
+ }
//printf("mask = 0x%x, usemask = 0x%x\n", mask, usemask);
i = 0;
do {
More information about the Scummvm-git-logs
mailing list