aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
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() {