From 4681a24d43cf1ec03751f271c1ed1eafd9c80a29 Mon Sep 17 00:00:00 2001 From: Florian Jung Date: Fri, 14 Jan 2011 13:57:25 +0100 Subject: Fixed stupid bug in Envelope.cpp Changed a "if (has_release) hold=false" into if (!has_release) --- synth/envelope.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/synth/envelope.cpp b/synth/envelope.cpp index 2f06a4e..a6e79e0 100644 --- a/synth/envelope.cpp +++ b/synth/envelope.cpp @@ -13,7 +13,7 @@ Envelope::Envelope(env_settings_t s, int frames) has_release_phase=(s.release>=0); - if (has_release_phase) + if (!has_release_phase) s.hold=false; set_attack(s.attack); -- cgit v1.2.3