got rid of FDirectoryLump.

This commit is contained in:
Christoph Oelckers 2023-12-12 19:20:23 +01:00
commit f5f9d5b5d8
4 changed files with 15 additions and 82 deletions

View file

@ -753,7 +753,6 @@ FCompressedBuffer FSerializer::GetCompressedOutput()
EndObject();
buff.filename = nullptr;
buff.mSize = (unsigned)w->mOutString.GetSize();
buff.mZipFlags = 0;
buff.mCRC32 = crc32(0, (const Bytef*)w->mOutString.GetString(), buff.mSize);
uint8_t *compressbuf = new uint8_t[buff.mSize+1];