mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 12:13:16 +00:00
Fix sound falloff calculation overflow
This commit is contained in:
parent
45f043a1c4
commit
4efaed3690
1 changed files with 2 additions and 1 deletions
|
|
@ -986,7 +986,8 @@ boolean S_AdjustSoundParams(const mobj_t *listener, const mobj_t *source, INT32
|
|||
|
||||
if (sfxinfo->pitch & SF_OUTSIDESOUND) // Rain special case
|
||||
{
|
||||
fixed_t x, y, yl, yh, xl, xh, newdist;
|
||||
INT64 x, y, yl, yh, xl, xh;
|
||||
fixed_t newdist;
|
||||
|
||||
if (R_PointInSubsector(listensource.x, listensource.y)->sector->ceilingpic == skyflatnum)
|
||||
approx_dist = 0;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue