aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Alc/ALu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/ALu.c b/Alc/ALu.c
index 09f3e243..9ee33203 100644
--- a/Alc/ALu.c
+++ b/Alc/ALu.c
@@ -317,7 +317,7 @@ static ALvoid CalcSourceParams(ALCcontext *ALContext, ALsource *ALSource,
if(ALSource->Send[0].Slot && !ALSource->Send[0].Slot->AuxSendAuto)
{
if(ALSource->Send[0].Slot->effect.type == AL_EFFECT_REVERB)
- RoomRolloff = ALSource->Send[0].Slot->effect.Reverb.RoomRolloffFactor;
+ RoomRolloff += ALSource->Send[0].Slot->effect.Reverb.RoomRolloffFactor;
}
flAttenuation = 1.0f;