From 4088e735a962fd597049ff08e6e3710eb491c884 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 3 Feb 2011 04:06:22 +0000 Subject: SCI: Properly reset the array/string segment ids svn-id: r55749 --- engines/sci/engine/seg_manager.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'engines') 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(); -- cgit v1.2.3