aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorStrangerke2013-04-26 08:43:23 +0200
committerStrangerke2013-04-26 08:43:23 +0200
commit8fc8c6934578e32f0c8fc19a120558ca93c08317 (patch)
tree97a8640023239a1670252d3b56b514faff60e121 /engines
parent5a9d437866b8da4b7247e1e06fef2a0e92807310 (diff)
downloadscummvm-rg350-8fc8c6934578e32f0c8fc19a120558ca93c08317.tar.gz
scummvm-rg350-8fc8c6934578e32f0c8fc19a120558ca93c08317.tar.bz2
scummvm-rg350-8fc8c6934578e32f0c8fc19a120558ca93c08317.zip
HUGO: Fix some uninitialized variables. CID 1002887
Diffstat (limited to 'engines')
-rw-r--r--engines/hugo/file.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/hugo/file.cpp b/engines/hugo/file.cpp
index 1758f3f6a5..89db21e2a8 100644
--- a/engines/hugo/file.cpp
+++ b/engines/hugo/file.cpp
@@ -59,6 +59,11 @@ static const int s_bootCypherLen = sizeof(s_bootCypher) - 1;
FileManager::FileManager(HugoEngine *vm) : _vm(vm) {
_hasReadHeader = false;
_firstUIFFl = true;
+
+ _UIFHeader->_size = 0;
+ _UIFHeader->_offset = 0;
+ _soundHdr->_size = 0;
+ _soundHdr->_offset = 0;
}
FileManager::~FileManager() {