Enable and use VAR_VOICE_MODE

svn-id: r12979
This commit is contained in:
Travis Howell 2004-02-22 03:08:18 +00:00
parent ff93447108
commit 42028e984f
4 changed files with 11 additions and 2 deletions

View file

@ -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