From 9d3c8a98ae1de889c3cbb2cfa6ec5f7ea3f19b3d Mon Sep 17 00:00:00 2001 From: Vesa Date: Sun, 15 Jun 2014 22:38:25 +0300 Subject: [PATCH] Monstro: fix another silly error... --- plugins/monstro/Monstro.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/monstro/Monstro.cpp b/plugins/monstro/Monstro.cpp index 660a73476..aa61187bd 100644 --- a/plugins/monstro/Monstro.cpp +++ b/plugins/monstro/Monstro.cpp @@ -1008,7 +1008,7 @@ void MonstroSynth::renderModulators( fpp_t _frames ) { m_env2_buf[f] = s; m_env2_phase = qMin( 4.0f - env2_sus, m_env2_phase + m_parent->m_env2_dec ); - if( m_env1_phase == 4.0f ) m_env1_phase = 5.0f; // jump over release if sustain is zero - fix for clicking + if( m_env2_phase == 4.0f ) m_env2_phase = 5.0f; // jump over release if sustain is zero - fix for clicking } } else if( m_env2_phase < 5.0f ) // release phase