diff options
author | Filippos Karapetis | 2009-09-22 09:16:16 +0000 |
---|---|---|
committer | Filippos Karapetis | 2009-09-22 09:16:16 +0000 |
commit | 4df106e1f034e14b665b26190b1e5e0bbd02e190 (patch) | |
tree | 2539bee4308352d62f54fb708a4495730b998cf3 /engines | |
parent | e331269a36dcc1a41e099948e191c6f8305e392b (diff) | |
download | scummvm-rg350-4df106e1f034e14b665b26190b1e5e0bbd02e190.tar.gz scummvm-rg350-4df106e1f034e14b665b26190b1e5e0bbd02e190.tar.bz2 scummvm-rg350-4df106e1f034e14b665b26190b1e5e0bbd02e190.zip |
Copy the internal game name when loading, and don't recreate it
svn-id: r44250
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sci/engine/savegame.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sci/engine/savegame.cpp b/engines/sci/engine/savegame.cpp index 9da1b709a0..b4ed9dad72 100644 --- a/engines/sci/engine/savegame.cpp +++ b/engines/sci/engine/savegame.cpp @@ -798,7 +798,7 @@ EngineState *gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) { retval->successor = NULL; retval->pic_priority_table = (int *)gfxop_get_pic_metainfo(retval->gfx_state); - retval->_gameName = retval->segMan->getObjectName(retval->game_obj); + retval->_gameName = s->_gameName; retval->_sound._it = NULL; retval->_sound._flags = s->_sound._flags; |