summaryrefslogtreecommitdiffstats
path: root/Alc/ALu.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-07-15 02:23:53 -0700
committerChris Robinson <[email protected]>2008-07-15 02:23:53 -0700
commit6d416ee7348fcb7bbc44467aae48139a2179c53c (patch)
tree49271d8847b07dcdbc387fb1e9b0c771d160465e /Alc/ALu.c
parent97d3a45aff582242a9e5229c1e170f45ac96e0d9 (diff)
Add the reverb room rolloff to the source room rolloff, not override
Diffstat (limited to 'Alc/ALu.c')
-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;