PK3: fixup support for newer version of zlib

This commit is contained in:
Alam Ed Arias 2018-11-26 20:08:26 -05:00
parent 9a042cd5e2
commit b7f7c2ecf7

View file

@ -1241,7 +1241,7 @@ size_t W_ReadLumpHeaderPwad(UINT16 wad, UINT16 lump, void *dest, size_t size, si
#ifdef HAVE_ZLIB
case CM_DEFLATE: // Is it compressed via DEFLATE? Very common in ZIPs/PK3s, also what most doom-related editors support.
{
z_const Bytef *rawData; // The lump's raw data.
void *rawData; // The lump's raw data.
Bytef *decData; // Lump's decompressed real data.
int zErr; // Helper var.