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

svn-id: r8860
This commit is contained in:
Max Horn 2003-07-08 16:53:18 +00:00
parent 5428987a04
commit c1635b94bf

View File

@ -629,15 +629,13 @@ void Scumm::cost_decodeData(Actor *a, int frame, uint usemask) {
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 {