diff options
-rw-r--r-- | scumm/sound.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 68e3c3d066..b89658b25f 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -299,8 +299,7 @@ void Sound::playSound(int soundID, int heOffset, int heChannel, int heFlags) { Common::MemoryReadStream stream(ptr, size); if (!loadWAVFromStream(stream, size, rate, flags)) { - warning("playSound: IMA ADPCM compression not supported"); - return; + error("playSound: Not a valid WAV file"); } // Allocate a sound buffer, copy the data into it, and play |