From fd21bb2611b4260a1243ab14c9a0797fb9ba3617 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Wed, 30 Sep 2009 12:17:38 +0000 Subject: - Moved the list of synonyms and parser nodes inside the vocabulary class - Added a convenience member inside the EngineState struct to access the instance of the Vocabulary class svn-id: r44481 --- engines/sci/engine/savegame.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sci/engine/savegame.cpp') diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index cf54a61ebd..ae9db4cb67 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -736,7 +736,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { } // FIXME: Do in-place loading at some point, instead of creating a new EngineState instance from scratch. - retval = new EngineState(s->resMan, s->_kernel, s->_flags); + retval = new EngineState(s->resMan, s->_kernel, s->_voc, s->_flags); // Copy some old data retval->gfx_state = s->gfx_state; -- cgit v1.2.3