aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-09-22 09:16:16 +0000
committerFilippos Karapetis2009-09-22 09:16:16 +0000
commit4df106e1f034e14b665b26190b1e5e0bbd02e190 (patch)
tree2539bee4308352d62f54fb708a4495730b998cf3 /engines
parente331269a36dcc1a41e099948e191c6f8305e392b (diff)
downloadscummvm-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.cpp2
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;