aboutsummaryrefslogtreecommitdiff
path: root/sword2
diff options
context:
space:
mode:
authorTorbjörn Andersson2003-12-02 10:25:12 +0000
committerTorbjörn Andersson2003-12-02 10:25:12 +0000
commit6d3c760ffdaacbc9657e09f26b3ca78223ffa996 (patch)
tree81a11c0d45ddf45f1b3f747a618c1d2195e6f12e /sword2
parente8ad4cc00937dee56e722743be803c98ec6f7217 (diff)
downloadscummvm-rg350-6d3c760ffdaacbc9657e09f26b3ca78223ffa996.tar.gz
scummvm-rg350-6d3c760ffdaacbc9657e09f26b3ca78223ffa996.tar.bz2
scummvm-rg350-6d3c760ffdaacbc9657e09f26b3ca78223ffa996.zip
Since all other engines have been changed to use "subtitles" instead of
"nosubtitles", let's change this one as well. Of course, it does break compatibility with old config files, but I guess the worst that can happen is that we have an unused "nosubtitles" line in addition to the used "subtitles" line... svn-id: r11464
Diffstat (limited to 'sword2')
-rw-r--r--sword2/controls.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/sword2/controls.cpp b/sword2/controls.cpp
index b9dd87514f..c98062ea3b 100644
--- a/sword2/controls.cpp
+++ b/sword2/controls.cpp
@@ -1427,13 +1427,13 @@ Gui::Gui(Sword2Engine *vm) : _vm(vm), _baseSlot(0) {
ConfMan.registerDefault("speech_mute", false);
ConfMan.registerDefault("sfx_mute", false);
ConfMan.registerDefault("gfx_details", 2);
- ConfMan.registerDefault("nosubtitles", false);
+ ConfMan.registerDefault("subtitles", true);
ConfMan.registerDefault("object_labels", true);
ConfMan.registerDefault("reverse_stereo", false);
}
void Gui::readOptionSettings(void) {
- _subtitles = !ConfMan.getBool("nosubtitles");
+ _subtitles = ConfMan.getBool("subtitles");
_pointerTextSelected = ConfMan.getBool("object_labels");
_stereoReversed = ConfMan.getBool("reverse_stereo");
@@ -1456,7 +1456,7 @@ void Gui::writeOptionSettings(void) {
ConfMan.set("speech_mute", _vm->_sound->isSpeechMute());
ConfMan.set("sfx_mute", _vm->_sound->isFxMute());
ConfMan.set("gfx_details", _vm->_graphics->getRenderLevel());
- ConfMan.set("nosubtitles", !_subtitles);
+ ConfMan.set("subtitles", _subtitles);
ConfMan.set("object_labels", _pointerTextSelected);
ConfMan.set("reverse_stereo", _stereoReversed);