Forgot something

This commit is contained in:
NepDisk 2025-01-26 18:52:12 -05:00
parent 37afbae95d
commit bc0f662f56

View file

@ -1098,8 +1098,7 @@ boolean S_AdjustSoundParams(const mobj_t *listener, const mobj_t *source, INT32
if (sfxinfo->pitch & SF_OUTSIDESOUND) // Rain special case
{
INT64 x, y, yl, yh, xl, xh;
fixed_t newdist;
fixed_t x, y, yl, yh, xl, xh, newdist;
if (R_PointInSubsector(listensource.x, listensource.y)->sector->ceilingpic == skyflatnum)
approx_dist = 0;