diff options
-rw-r--r-- | graphics/decoders/iff.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/graphics/decoders/iff.cpp b/graphics/decoders/iff.cpp index 485b2846a8..7b37969fc1 100644 --- a/graphics/decoders/iff.cpp +++ b/graphics/decoders/iff.cpp @@ -59,8 +59,7 @@ void IFFDecoder::destroy() { } bool IFFDecoder::loadStream(Common::SeekableReadStream &stream) { - // NOTE: we cannot call destroy() here, like most other decoders do, otherwise the - // settings (stored in _numRelevantPlanes and _pixelPacking) will be cleared. + destroy(); const uint32 form = stream.readUint32BE(); |