aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorrichiesams2013-08-19 23:52:14 -0500
committerrichiesams2013-08-20 11:41:44 -0500
commit9294c5eac969967a294abd97982e5baed6507355 (patch)
treeccebb945c619132a469a95ad54495cb77b4ee7e9 /engines
parent6e427ebef8b29e48b679c7c19ed4b715c7dfaef8 (diff)
downloadscummvm-rg350-9294c5eac969967a294abd97982e5baed6507355.tar.gz
scummvm-rg350-9294c5eac969967a294abd97982e5baed6507355.tar.bz2
scummvm-rg350-9294c5eac969967a294abd97982e5baed6507355.zip
ZVISION: Initialize inline with construction
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')) {