aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2013-05-01 01:32:27 +0300
committerFilippos Karapetis2013-05-01 01:51:11 +0300
commit66fce6d15608670c0cc957af9c1f7158af39fa71 (patch)
tree6fda1c99ca5f4c69225300e337dccc6b8a8f02af /engines
parent70f1c4d3159f54a9e3246696dce4cf5cbb468c7d (diff)
downloadscummvm-rg350-66fce6d15608670c0cc957af9c1f7158af39fa71.tar.gz
scummvm-rg350-66fce6d15608670c0cc957af9c1f7158af39fa71.tar.bz2
scummvm-rg350-66fce6d15608670c0cc957af9c1f7158af39fa71.zip
SCI: Fix some non-initialized variables in SegManager - CID 1003116
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/seg_manager.cpp3
1 files changed, 3 insertions, 0 deletions
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;