aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMatthew Hoops2011-02-03 04:06:22 +0000
committerMatthew Hoops2011-02-03 04:06:22 +0000
commit4088e735a962fd597049ff08e6e3710eb491c884 (patch)
treeac084fe47d032a8f45e29803563d8a66f90be69d /engines
parent4c0af01d6a2a860c09dbd047563ac4f727425492 (diff)
downloadscummvm-rg350-4088e735a962fd597049ff08e6e3710eb491c884.tar.gz
scummvm-rg350-4088e735a962fd597049ff08e6e3710eb491c884.tar.bz2
scummvm-rg350-4088e735a962fd597049ff08e6e3710eb491c884.zip
SCI: Properly reset the array/string segment ids
svn-id: r55749
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/engine/seg_manager.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/engines/sci/engine/seg_manager.cpp b/engines/sci/engine/seg_manager.cpp
index be03578755..f364b4891a 100644
--- a/engines/sci/engine/seg_manager.cpp
+++ b/engines/sci/engine/seg_manager.cpp
@@ -76,6 +76,11 @@ void SegManager::resetSegMan() {
_nodesSegId = 0;
_hunksSegId = 0;
+#ifdef ENABLE_SCI32
+ _arraysSegId = 0;
+ _stringSegId = 0;
+#endif
+
// Reinitialize class table
_classTable.clear();
createClassTable();