diff options
author | Johannes Schickel | 2009-01-13 18:11:11 +0000 |
---|---|---|
committer | Johannes Schickel | 2009-01-13 18:11:11 +0000 |
commit | 094fca2207cc88c5a82ab2ee7320e7345615a926 (patch) | |
tree | dc66905a9faaccb7b0177acac3f6243b6ca7e39b /engines/kyra/kyra_mr.cpp | |
parent | 470b07004a4c30e72dac4f96831084cc1eb7bbd7 (diff) | |
download | scummvm-rg350-094fca2207cc88c5a82ab2ee7320e7345615a926.tar.gz scummvm-rg350-094fca2207cc88c5a82ab2ee7320e7345615a926.tar.bz2 scummvm-rg350-094fca2207cc88c5a82ab2ee7320e7345615a926.zip |
When reverting to text only mode update the config manager settings accordingly.
svn-id: r35847
Diffstat (limited to 'engines/kyra/kyra_mr.cpp')
-rw-r--r-- | engines/kyra/kyra_mr.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/engines/kyra/kyra_mr.cpp b/engines/kyra/kyra_mr.cpp index acc0421a59..20b0fa7688 100644 --- a/engines/kyra/kyra_mr.cpp +++ b/engines/kyra/kyra_mr.cpp @@ -805,8 +805,11 @@ void KyraEngine_MR::openTalkFile(int file) { _currentTalkFile = file; if (!_res->loadPakFile(talkFilename)) { if (speechEnabled()) { - warning("Couldn't load file '%s' falling back to text only mode", talkFilename); + warning("Couldn't load voice file '%s', falling back to text only mode", talkFilename); _configVoice = 0; + + // Sync the config manager with the new settings + writeSettings(); } } } |