Remove code that is behind SURROUND define

This commit is contained in:
SteelT 2023-12-19 13:36:49 -05:00
parent a9df0fc269
commit 36f6c89ce1

View file

@ -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;