From a614f741fd341003f2a6c08bb30ce33943199166 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Wed, 14 Jul 2021 23:22:41 +0200 Subject: [PATCH] - relaxed consistency checks for VOC files. Rampage Warrior contains a few sounds that failed validation so this check does not exist in the original 3D Realms sound code. --- source/common/audio/sound/i_sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/common/audio/sound/i_sound.cpp b/source/common/audio/sound/i_sound.cpp index 6855ce51b..9e60cc155 100644 --- a/source/common/audio/sound/i_sound.cpp +++ b/source/common/audio/sound/i_sound.cpp @@ -367,7 +367,7 @@ SoundHandle SoundRenderer::LoadSoundVoc(uint8_t *sfxdata, int length) i += 4; if (i + blocksize > length) { - okay = false; + //okay = false; break; }