diff options
Diffstat (limited to 'engines/scumm/script.cpp')
-rw-r--r-- | engines/scumm/script.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/scumm/script.cpp b/engines/scumm/script.cpp index 02bf17cbbb..686e6262db 100644 --- a/engines/scumm/script.cpp +++ b/engines/scumm/script.cpp @@ -606,14 +606,14 @@ void ScummEngine::writeVar(uint var, int value) { if (_game.heversion <= 73 && vm.slot[_currentScript].number == 1) return; assert(value == 0 || value == 1); - ConfMan.set("subtitles", value); + ConfMan.setBool("subtitles", value); } if (VAR_NOSUBTITLES != 0xFF && var == VAR_NOSUBTITLES) { // Ignore default setting in HE60-71 games if (_game.heversion >= 60 && vm.slot[_currentScript].number == 1) return; assert(value == 0 || value == 1); - ConfMan.set("subtitles", !value); + ConfMan.setBool("subtitles", !value); } if (var == VAR_CHARINC && ConfMan.hasKey("talkspeed")) { |