diff options
author | Max Horn | 2003-07-08 16:53:18 +0000 |
---|---|---|
committer | Max Horn | 2003-07-08 16:53:18 +0000 |
commit | c1635b94bf85fed6a51d1248d7c6dacc4361f55c (patch) | |
tree | 1d42154d2ecb7cafa5535808a741a2b25632628f | |
parent | 5428987a04703840c22796820c25ca4c504e6c0a (diff) | |
download | scummvm-rg350-c1635b94bf85fed6a51d1248d7c6dacc4361f55c.tar.gz scummvm-rg350-c1635b94bf85fed6a51d1248d7c6dacc4361f55c.tar.bz2 scummvm-rg350-c1635b94bf85fed6a51d1248d7c6dacc4361f55c.zip |
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
-rw-r--r-- | scumm/costume.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index 90ed4d90f1..07d0cf2e20 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -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 { |