diff options
Diffstat (limited to 'scumm/costume.cpp')
-rw-r--r-- | scumm/costume.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/costume.cpp b/scumm/costume.cpp index d561d503a4..0151b5ac55 100644 --- a/scumm/costume.cpp +++ b/scumm/costume.cpp @@ -719,7 +719,7 @@ void Scumm::cost_decodeData(Actor *a, int frame, uint usemask) { i++; usemask <<= 1; mask <<= 1; - } while ((uint16)mask); + } while (mask&0xFFFF); } void CostumeRenderer::setPalette(byte *palette) { |