diff options
author | James Brown | 2003-07-19 07:43:13 +0000 |
---|---|---|
committer | James Brown | 2003-07-19 07:43:13 +0000 |
commit | be4446f945218204f0bf653f05d8befe11d53299 (patch) | |
tree | e0015a16f4c83d3fd7c93f8e643ed0d76a7d268a /scumm | |
parent | b295340912248d1ace387b87ee751b446ed0e773 (diff) | |
download | scummvm-rg350-be4446f945218204f0bf653f05d8befe11d53299.tar.gz scummvm-rg350-be4446f945218204f0bf653f05d8befe11d53299.tar.bz2 scummvm-rg350-be4446f945218204f0bf653f05d8befe11d53299.zip |
Ignore me, I'm a carrot.
svn-id: r9073
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/sound.cpp b/scumm/sound.cpp index 0bcf8426c9..8e8f3dedc2 100644 --- a/scumm/sound.cpp +++ b/scumm/sound.cpp @@ -403,7 +403,7 @@ void Sound::playSound(int soundID) { size -= 0x20; if (size < waveSize) { warning("Wrong wave size in sound #%i: %i", soundID, waveSize); - waveSize = size - 0x36; + waveSize = size; } sound = (char *)malloc(waveSize); for (int x = 0; x < waveSize; x++) { |