Don't apply effect auto send adjustments for non-reverb effects

This commit is contained in:
Chris Robinson 2022-06-16 18:36:04 -07:00
parent 080e2cd16f
commit 314ba2f390

View File

@ -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