diff options
author | Travis Howell | 2005-11-15 22:42:33 +0000 |
---|---|---|
committer | Travis Howell | 2005-11-15 22:42:33 +0000 |
commit | 3a66c413e12bbdcf215c8d21f0c27c78ecab9e55 (patch) | |
tree | fed5b7079345779f9f57936d4aa24d76ad0b82f5 /scumm | |
parent | 8392db7ca8a45228caf9f2211a71c11782702805 (diff) | |
download | scummvm-rg350-3a66c413e12bbdcf215c8d21f0c27c78ecab9e55.tar.gz scummvm-rg350-3a66c413e12bbdcf215c8d21f0c27c78ecab9e55.tar.bz2 scummvm-rg350-3a66c413e12bbdcf215c8d21f0c27c78ecab9e55.zip |
Allow subtitles to be disabled in HE70 - HE73 games.
svn-id: r19603
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/script.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/scumm/script.cpp b/scumm/script.cpp index b71466bf21..080115c110 100644 --- a/scumm/script.cpp +++ b/scumm/script.cpp @@ -583,6 +583,9 @@ void ScummEngine::writeVar(uint var, int value) { checkRange(_numVariables - 1, 0, var, "Variable %d out of range(w)"); if (VAR_SUBTITLES != 0xFF && var == VAR_SUBTITLES) { + // Ignore default setting in HE60/61 games + if ((_heversion >= 70 && _heversion <= 73) && vm.slot[_currentScript].number == 1) + return; assert(value == 0 || value == 1); ConfMan.set("subtitles", value); } |