diff --git a/engines/wintermute/base/gfx/x/modelx.cpp b/engines/wintermute/base/gfx/x/modelx.cpp index fa002fd596e..77a3fb2fd1f 100644 --- a/engines/wintermute/base/gfx/x/modelx.cpp +++ b/engines/wintermute/base/gfx/x/modelx.cpp @@ -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; }