Should be an error now.
svn-id: r17966
This commit is contained in:
parent
01b2f38670
commit
f52ef27fe8
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue