From 6d416ee7348fcb7bbc44467aae48139a2179c53c Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 15 Jul 2008 02:23:53 -0700 Subject: Add the reverb room rolloff to the source room rolloff, not override --- Alc/ALu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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; -- cgit v1.2.3