- fixed: FPNGTexture must readjust the file pointer after deciding to skip the tRNS chunk.

This commit is contained in:
Christoph Oelckers 2016-04-15 15:15:34 +02:00
parent ed211ecbab
commit 94cec02acc
1 changed files with 4 additions and 0 deletions

View File

@ -659,6 +659,10 @@ int FPNGTexture::CopyTrueColorPixels(FBitmap *bmp, int x, int y, int rotate, FCo
transpal = true;
}
}
else
{
lump->Seek(len, SEEK_CUR);
}
break;
}
lump->Seek(4, SEEK_CUR); // Skip CRC