aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine/savegame.cpp
diff options
context:
space:
mode:
authorMax Horn2009-09-17 17:00:36 +0000
committerMax Horn2009-09-17 17:00:36 +0000
commit5f440854b7f0f4d9aefda208e9b79c5628adf50f (patch)
treeeccbc04b87ac93c94727572d5caa64d412aa36c8 /engines/sci/engine/savegame.cpp
parentc2455aad870b87e9603d52b19060f77510bd74a4 (diff)
downloadscummvm-rg350-5f440854b7f0f4d9aefda208e9b79c5628adf50f.tar.gz
scummvm-rg350-5f440854b7f0f4d9aefda208e9b79c5628adf50f.tar.bz2
scummvm-rg350-5f440854b7f0f4d9aefda208e9b79c5628adf50f.zip
SCI: Add EngineState::_kernel member for convenience
svn-id: r44173
Diffstat (limited to 'engines/sci/engine/savegame.cpp')
-rw-r--r--engines/sci/engine/savegame.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp
index 8713805fec..7ca50b25ca 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -705,7 +705,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->_flags);
+ retval = new EngineState(s->resMan, s->_kernel, s->_flags);
// Copy some old data
retval->gfx_state = s->gfx_state;