aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Brown2003-07-19 07:43:13 +0000
committerJames Brown2003-07-19 07:43:13 +0000
commitbe4446f945218204f0bf653f05d8befe11d53299 (patch)
treee0015a16f4c83d3fd7c93f8e643ed0d76a7d268a
parentb295340912248d1ace387b87ee751b446ed0e773 (diff)
downloadscummvm-rg350-be4446f945218204f0bf653f05d8befe11d53299.tar.gz
scummvm-rg350-be4446f945218204f0bf653f05d8befe11d53299.tar.bz2
scummvm-rg350-be4446f945218204f0bf653f05d8befe11d53299.zip
Ignore me, I'm a carrot.
svn-id: r9073
-rw-r--r--scumm/sound.cpp2
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++) {