aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/costume.cpp8
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 {