aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-01 15:11:20 +0000
committerFilippos Karapetis2010-06-01 15:11:20 +0000
commit9c92bd1b810621bdaa779bd3354b10ad048c7924 (patch)
tree16a56f987b162ff3ca0f1f8ef0ec78e6a762f866 /engines/sci/engine/savegame.cpp
parente083c20da1aab0090a5fc3ea624c9810c63dad52 (diff)
downloadscummvm-rg350-9c92bd1b810621bdaa779bd3354b10ad048c7924.tar.gz
scummvm-rg350-9c92bd1b810621bdaa779bd3354b10ad048c7924.tar.bz2
scummvm-rg350-9c92bd1b810621bdaa779bd3354b10ad048c7924.zip
The parser vocabulary remains static throughout the game, thus it has been removed from the engine state
svn-id: r49373
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r--engines/sci/engine/savegame.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 85c9915d57..bba087d953 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -857,7 +857,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
}
// Create a new EngineState object
- retval = new EngineState(s->_voc, s->_segMan);
+ retval = new EngineState(s->_segMan);
retval->_event = s->_event;
// Copy some old data
@@ -898,11 +898,6 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
retval->last_wait_time = g_system->getMillis();
retval->game_start_time = g_system->getMillis();
- // static parser information:
-
- if (retval->_voc)
- retval->_voc->parser_base = make_reg(s->_segMan->getSysStringsSegment(), SYS_STRING_PARSER_BASE);
-
retval->successor = NULL;
#ifdef USE_OLD_MUSIC_FUNCTIONS