From 74edd90aba15db1196b16b5eae918347670d11c8 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 16 Apr 2006 19:23:14 +0000 Subject: Fix for bug #1471383: Instead of overloading ConfigManager::set, we now have new setInt and setBool methods (matching getInt/getBool), which avoids strange quirks & bugs caused by (char *) being implicitly cast to int (ouch) svn-id: r21951 --- engines/queen/queen.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/queen') diff --git a/engines/queen/queen.cpp b/engines/queen/queen.cpp index c87ccd6695..611832c439 100644 --- a/engines/queen/queen.cpp +++ b/engines/queen/queen.cpp @@ -194,12 +194,12 @@ void QueenEngine::readOptionSettings() { } void QueenEngine::writeOptionSettings() { - ConfMan.set("music_volume", _music->volume()); - ConfMan.set("music_mute", !_sound->musicOn()); - ConfMan.set("sfx_mute", !_sound->sfxOn()); - ConfMan.set("talkspeed", _talkSpeed); - ConfMan.set("speech_mute", !_sound->speechOn()); - ConfMan.set("subtitles", _subtitles); + ConfMan.setInt("music_volume", _music->volume()); + ConfMan.setBool("music_mute", !_sound->musicOn()); + ConfMan.setBool("sfx_mute", !_sound->sfxOn()); + ConfMan.setInt("talkspeed", _talkSpeed); + ConfMan.setBool("speech_mute", !_sound->speechOn()); + ConfMan.setBool("subtitles", _subtitles); ConfMan.flushToDisk(); } -- cgit v1.2.3