diff --git a/src/textures/pngtexture.cpp b/src/textures/pngtexture.cpp index 4e664aef3..e47fa62c0 100644 --- a/src/textures/pngtexture.cpp +++ b/src/textures/pngtexture.cpp @@ -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