summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/ALu.c')
-rw-r--r--Alc/ALu.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index ebfd0817..ed2c7b3e 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -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))