aboutsummaryrefslogtreecommitdiff
path: root/scumm/saveload.cpp
diff options
context:
space:
mode:
authorTravis Howell2004-02-22 03:08:18 +0000
committerTravis Howell2004-02-22 03:08:18 +0000
commit42028e984fa70c7fbb4536f1146161942e6fac40 (patch)
tree160269bf66de81fe8d6804f807f2ad339aa4e8a6 /scumm/saveload.cpp
parentff934471084e4c4daec06527583dcd9d4b519b84 (diff)
downloadscummvm-rg350-42028e984fa70c7fbb4536f1146161942e6fac40.tar.gz
scummvm-rg350-42028e984fa70c7fbb4536f1146161942e6fac40.tar.bz2
scummvm-rg350-42028e984fa70c7fbb4536f1146161942e6fac40.zip
Enable and use VAR_VOICE_MODE
svn-id: r12979
Diffstat (limited to 'scumm/saveload.cpp')
-rw-r--r--scumm/saveload.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/saveload.cpp b/scumm/saveload.cpp
index c7316fae56..e4159a3ed4 100644
--- a/scumm/saveload.cpp
+++ b/scumm/saveload.cpp
@@ -200,6 +200,10 @@ bool ScummEngine::loadState(int slot, bool compat, SaveFileManager *mgr) {
_scummVars[VAR_CAMERA_ACCEL_Y] = _scummVars[110];
}
+ // Sync with current config setting
+ if (_version >= 7)
+ VAR(VAR_VOICE_MODE) = ConfMan.getBool("subtitles");
+
// We could simply dirty colours 0-15 for 16-colour games -- nowadays
// they handle their palette pretty much like the more recent games
// anyway. There was a time, though, when re-initializing was necessary