From 7a4395aabb76c26f265366426a36ffaeed5ca887 Mon Sep 17 00:00:00 2001 From: Vesa Date: Fri, 2 May 2014 21:40:07 +0300 Subject: [PATCH] ... oops 2... --- plugins/monstro/Monstro.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/monstro/Monstro.cpp b/plugins/monstro/Monstro.cpp index 632ed7a45..fb6f7d1ad 100644 --- a/plugins/monstro/Monstro.cpp +++ b/plugins/monstro/Monstro.cpp @@ -977,14 +977,14 @@ void MonstroSynth::renderModulators( fpp_t _frames ) inline sample_t MonstroSynth::calcSlope1( sample_t s ) { if( m_parent->m_slope1 == 1.0f ) return s; - if( s == 0.0f || s == 1.0f ) return s; + if( s == 0.0f ) return s; return fastPow( s, m_parent->m_slope1 ); } inline sample_t MonstroSynth::calcSlope2( sample_t s ) { if( m_parent->m_slope2 == 1.0f ) return s; - if( s == 0.0f || s == 1.0f ) return s; + if( s == 0.0f ) return s; return fastPow( s, m_parent->m_slope2 ); }