Don't apply effect auto send adjustments for non-reverb effects
This commit is contained in:
parent
080e2cd16f
commit
314ba2f390
@ -1391,7 +1391,7 @@ void CalcAttnSourceParams(Voice *voice, const VoiceProps *props, const ContextBa
|
|||||||
*/
|
*/
|
||||||
for(uint i{props->WetGainAuto ? 0u : NumSends};i < NumSends;++i)
|
for(uint i{props->WetGainAuto ? 0u : NumSends};i < NumSends;++i)
|
||||||
{
|
{
|
||||||
if(!SendSlots[i])
|
if(!SendSlots[i] || !(SendSlots[i]->DecayTime > 0.0f))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
auto calc_attenuation = [](float distance, float refdist, float rolloff) noexcept
|
auto calc_attenuation = [](float distance, float refdist, float rolloff) noexcept
|
||||||
|
Loading…
x
Reference in New Issue
Block a user