diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/zvision/render_manager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp index 604c310689..b38db003d1 100644 --- a/engines/zvision/render_manager.cpp +++ b/engines/zvision/render_manager.cpp @@ -112,9 +112,9 @@ void RenderManager::renderImageToScreen(Common::SeekableReadStream &stream, uint uint32 imageWidth = stream.readSint32LE(); uint32 imageHeight = stream.readSint32LE(); - LzssReadStream stream(&stream); + LzssReadStream lzssStream(&stream); byte *buffer = new byte[decompressedSize]; - stream.read(buffer, decompressedSize); + lzssStream.read(buffer, decompressedSize); uint32 horizontalPitch = imageWidth * sizeof(uint16); |