aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alu.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/alu.cpp')
-rw-r--r--alc/alu.cpp2
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