SCI: Silence valgrind warning (thanks to syke for pointing out)

svn-id: r51717
This commit is contained in:
Matthew Hoops 2010-08-04 00:33:54 +00:00
parent 7487b51e87
commit bde4012f46

View File

@ -76,6 +76,7 @@ bool SeqDecoder::load(Common::SeekableReadStream &stream) {
uint16 palColorCount = READ_LE_UINT16(paletteData + 29); uint16 palColorCount = READ_LE_UINT16(paletteData + 29);
int palOffset = 37; int palOffset = 37;
memset(_palette, 0, 256 * 3);
for (uint16 colorNo = palColorStart; colorNo < palColorStart + palColorCount; colorNo++) { for (uint16 colorNo = palColorStart; colorNo < palColorStart + palColorCount; colorNo++) {
if (palFormat == kSeqPalVariable) if (palFormat == kSeqPalVariable)