aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/zvision/render_manager.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/engines/zvision/render_manager.cpp b/engines/zvision/render_manager.cpp
index 6c006d9320..ac02cc24d6 100644
--- a/engines/zvision/render_manager.cpp
+++ b/engines/zvision/render_manager.cpp
@@ -163,8 +163,7 @@ void RenderManager::renderImageToScreen(const Common::String &fileName, int16 de
void RenderManager::renderImageToScreen(Common::SeekableReadStream &stream, int16 destinationX, int16 destinationY, bool wrap) {
// Read the magic number
// Some files are true TGA, while others are TGZ
- uint32 fileType;
- fileType = stream.readUint32BE();
+ uint32 fileType = stream.readUint32BE();
// Check for TGZ files
if (fileType == MKTAG('T', 'G', 'Z', '\0')) {