diff options
author | Chris Robinson <[email protected]> | 2022-06-16 18:36:04 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-06-16 18:36:04 -0700 |
commit | 314ba2f3903296e10a6212da6c8d9ee84a694df6 (patch) | |
tree | 9fa8b575df7f7313618bf419c1f6f16df94a0f6a | |
parent | 080e2cd16f95ecdd54cbde3b15de6ff022274c66 (diff) |
Don't apply effect auto send adjustments for non-reverb effects
-rw-r--r-- | alc/alu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/alc/alu.cpp b/alc/alu.cpp index c7fb5f57..a06d5675 100644 --- a/alc/alu.cpp +++ b/alc/alu.cpp @@ -1391,7 +1391,7 @@ void CalcAttnSourceParams(Voice *voice, const VoiceProps *props, const ContextBa */ for(uint i{props->WetGainAuto ? 0u : NumSends};i < NumSends;++i) { - if(!SendSlots[i]) + if(!SendSlots[i] || !(SendSlots[i]->DecayTime > 0.0f)) continue; auto calc_attenuation = [](float distance, float refdist, float rolloff) noexcept |