MADE: Fix static noise when playing sounds

This was a regression introduced in commit 298ea1a.
This fixes bug #9753.
This commit is contained in:
Thierry Crozat 2017-09-07 00:50:48 +01:00
parent 258015571b
commit 902b191266

View File

@ -249,9 +249,6 @@ void decompressSound(byte *source, byte *dest, uint16 chunkSize, uint16 chunkCou
// soundBuffer.
soundBuffer[workChunkSize] = soundBuffer[workChunkSize - 1];
for (i = 0; i < chunkSize; i++)
soundBuffer[i] = 0;
if (deltaType == 1) {
for (i = 0; i < chunkSize - 1; i += 2) {
l = i / 2;