aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/engine
diff options
context:
space:
mode:
authorFilippos Karapetis2010-06-09 14:06:16 +0000
committerFilippos Karapetis2010-06-09 14:06:16 +0000
commit015262a0ee77abcbd49d9ab40909daa77d303a81 (patch)
tree782340c33b7cbef54ddaaa58dcc578501eef5995 /engines/sci/engine
parent5b2a60d0495c76c32e358e8a2dff6c82f7ddd710 (diff)
downloadscummvm-rg350-015262a0ee77abcbd49d9ab40909daa77d303a81.tar.gz
scummvm-rg350-015262a0ee77abcbd49d9ab40909daa77d303a81.tar.bz2
scummvm-rg350-015262a0ee77abcbd49d9ab40909daa77d303a81.zip
Fixed compilation when the old sound code is used
svn-id: r49540
Diffstat (limited to 'engines/sci/engine')
-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 255e2700ee..3ad4ed096e 100644
--- a/engines/sci/engine/savegame.cpp
+++ b/engines/sci/engine/savegame.cpp
@@ -864,7 +864,7 @@ void gamestate_restore(EngineState *s, Common::SeekableReadStream *fh) {
s->sfx_init_flags = s->sfx_init_flags;
s->_sound._songlib.freeSounds();
s->_sound._songlib = temp;
- s->_soundCmd->updateSfxState(&retval->_sound);
+ s->_soundCmd->updateSfxState(&s->_sound);
#endif
s->_segMan->reconstructStack(s);