From f52ef27fe82698db15604b7b7d75b30ee6549e07 Mon Sep 17 00:00:00 2001 From: Travis Howell Date: Sun, 8 May 2005 14:38:56 +0000 Subject: Should be an error now. svn-id: r17966 --- scumm/sound.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scumm/sound.cpp') 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 -- cgit v1.2.3