From 094fca2207cc88c5a82ab2ee7320e7345615a926 Mon Sep 17 00:00:00 2001 From: Johannes Schickel Date: Tue, 13 Jan 2009 18:11:11 +0000 Subject: When reverting to text only mode update the config manager settings accordingly. svn-id: r35847 --- engines/kyra/kyra_mr.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'engines/kyra/kyra_mr.cpp') 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(); } } } -- cgit v1.2.3