diff options
author | Chris Robinson <[email protected]> | 2008-07-15 02:23:53 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-07-15 02:23:53 -0700 |
commit | 6d416ee7348fcb7bbc44467aae48139a2179c53c (patch) | |
tree | 49271d8847b07dcdbc387fb1e9b0c771d160465e | |
parent | 97d3a45aff582242a9e5229c1e170f45ac96e0d9 (diff) |
Add the reverb room rolloff to the source room rolloff, not override
-rw-r--r-- | Alc/ALu.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |