From be88ebbf15a733d3d8cd0cc98c98b139498dec7a Mon Sep 17 00:00:00 2001 From: Eric Wasylishen Date: Wed, 19 Jan 2011 23:18:37 -0700 Subject: [PATCH] Remove debug check --- Quake/snd_mem.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/Quake/snd_mem.c b/Quake/snd_mem.c index c389d80d..62b564ea 100644 --- a/Quake/snd_mem.c +++ b/Quake/snd_mem.c @@ -79,13 +79,6 @@ sfxcache_t *S_LoadSound (sfx_t *s) info.rate, info.width, info.samples, info.channels, data, shm->speed, shm->samplebits/8, &resampledNumSamples); - // FIXME: remove - if (info.rate == shm->speed && info.width == shm->samplebits/8) - { - if (resampledNumSamples != info.samples) exit(5); - if (0 != memcmp(data, resampled, (info.width * info.samples * info.channels))) exit(6); - } - len = resampledNumSamples * (shm->samplebits/8) * info.channels; // set up the sample struct