Should be an error now.

svn-id: r17966
This commit is contained in:
Travis Howell 2005-05-08 14:38:56 +00:00
parent 01b2f38670
commit f52ef27fe8

View file

@ -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