diff --git a/src/w_wad.c b/src/w_wad.c index 54ae7fb2..7fd7ac12 100644 --- a/src/w_wad.c +++ b/src/w_wad.c @@ -1319,8 +1319,8 @@ size_t W_ReadLumpHeaderPwad(UINT16 wad, UINT16 lump, void *dest, size_t size, si { size = 0; zerr(zErr); - (void)inflateEnd(&strm); } + (void)inflateEnd(&strm); } else {