diff options
author | Strangerke | 2013-02-22 23:51:29 +0100 |
---|---|---|
committer | Strangerke | 2013-02-22 23:51:29 +0100 |
commit | 9a535ac9f610e8209654fd1f3fdda244f47abe79 (patch) | |
tree | c2c6233e0e9286257bc15ed31af50ba30adad8a9 /engines/hopkins/sound.cpp | |
parent | 5297f6370749dfaff9b6b80ea9f10b855cd1b58f (diff) | |
download | scummvm-rg350-9a535ac9f610e8209654fd1f3fdda244f47abe79.tar.gz scummvm-rg350-9a535ac9f610e8209654fd1f3fdda244f47abe79.tar.bz2 scummvm-rg350-9a535ac9f610e8209654fd1f3fdda244f47abe79.zip |
HOPKINS: Remove verbose error messages when the English demo skips the speech loading
Diffstat (limited to 'engines/hopkins/sound.cpp')
-rw-r--r-- | engines/hopkins/sound.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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; } } |