diff options
-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++) { |