diff options
author | Chris Robinson <[email protected]> | 2011-07-04 07:32:23 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2011-07-04 07:32:23 -0700 |
commit | b2d5367830c7bc60e3593f3161eb1f65659a07ba (patch) | |
tree | 8ac29273d09a4ea9683fcf19115fc53783c61762 /Alc/ALu.c | |
parent | d307ee8c2f0823f80b427766ace50243db0999d5 (diff) |
Fix rolloff calculations for auxiliary sends
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r-- | Alc/ALu.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -405,8 +405,7 @@ ALvoid CalcSourceParams(ALsource *ALSource, const ALCcontext *ALContext) AirAbsorptionFactor = ALSource->AirAbsorptionFactor; for(i = 0;i < NumSends;i++) { - RoomRolloff[i] = ((i==0) ? ALSource->RoomRolloffFactor : - RoomRolloff[i-1]); + RoomRolloff[i] = ALSource->RoomRolloffFactor; if(ALSource->Send[i].Slot && (ALSource->Send[i].Slot->effect.type == AL_EFFECT_REVERB || ALSource->Send[i].Slot->effect.type == AL_EFFECT_EAXREVERB)) |