From 66fce6d15608670c0cc957af9c1f7158af39fa71 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 1 May 2013 01:32:27 +0300 Subject: SCI: Fix some non-initialized variables in SegManager - CID 1003116 --- engines/sci/engine/seg_manager.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'engines') diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp index 04c1dab158..97e33f256b 100644 --- a/engines/sci/engine/seg_manager.cpp +++ b/engines/sci/engine/seg_manager.cpp @@ -36,6 +36,9 @@ SegManager::SegManager(ResourceManager *resMan) { _nodesSegId = 0; _hunksSegId = 0; + _saveDirPtr = NULL_REG; + _parserPtr = NULL_REG; + #ifdef ENABLE_SCI32 _arraysSegId = 0; _stringSegId = 0; -- cgit v1.2.3