WINTERMUTE: Relax exit conditions for mszip packed X files

Few game have X files packed data not clean ended.
Remove conditions on last data and keep only remaining data condition.
This commit is contained in:
Paweł Kołodziejski 2022-07-27 18:10:09 +02:00
parent 5475281c09
commit fccbc28357
No known key found for this signature in database
GPG Key ID: 0BDADC9E74440FF7

View File

@ -76,7 +76,7 @@ static byte *DecompressMsZipData(byte *buffer, uint32 inputSize, uint32 &decompr
break;
}
if (uncompressedLen == 0 && compressedLen == 0 && remainingData == 0) {
if (remainingData == 0) {
break;
}