From 9a535ac9f610e8209654fd1f3fdda244f47abe79 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Fri, 22 Feb 2013 23:51:29 +0100 Subject: HOPKINS: Remove verbose error messages when the English demo skips the speech loading --- engines/hopkins/sound.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/hopkins/sound.cpp') diff --git a/engines/hopkins/sound.cpp b/engines/hopkins/sound.cpp index b6322b49c0..4df2a2d7d8 100644 --- a/engines/hopkins/sound.cpp +++ b/engines/hopkins/sound.cpp @@ -579,7 +579,6 @@ bool SoundManager::mixVoice(int voiceId, int voiceMode, bool dispTxtFl) { oldMusicVol = _musicVolume; if (!loadVoice(filename, catPos, catLen, _sWav[20])) { - warning("Couldn't load sample: %s", filename.c_str()); _sWav[20]._active = false; } else { _sWav[20]._active = true; @@ -772,7 +771,8 @@ bool SoundManager::loadVoice(const Common::String &filename, size_t fileOffset, if (!f.open(filename)) { // Fallback to APC... if (!f.open(setExtension(filename, ".APC"))) { - warning("Could not open %s for reading", filename.c_str()); + if (!_vm->getIsDemo()) + error("Could not open %s for reading", filename.c_str()); return false; } } -- cgit v1.2.3