From 36f6c89ce14168f58bb7541a25fd085bc2beae2c Mon Sep 17 00:00:00 2001 From: SteelT Date: Tue, 19 Dec 2023 13:36:49 -0500 Subject: [PATCH] Remove code that is behind SURROUND define --- src/s_sound.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/src/s_sound.c b/src/s_sound.c index 8a88cf3b0..2757b913f 100644 --- a/src/s_sound.c +++ b/src/s_sound.c @@ -533,7 +533,7 @@ void S_StartSoundAtVolume(const void *origin_p, sfxenum_t sfx_id, INT32 volume) { continue; } - + recdist = thisdist; i = j; } @@ -1036,12 +1036,6 @@ boolean S_AdjustSoundParams(const mobj_t *listener, const mobj_t *source, INT32 if (reverse) angle = InvAngle(angle); -#ifdef SURROUND - // Produce a surround sound for angle from 105 till 255 - if (surround.value == 1 && (angle > ANG105 && angle < ANG255 )) - *sep = SURROUND_SEP; - else -#endif { angle >>= ANGLETOFINESHIFT;