diff options
author | Florian Jung <flo@thinkpad.(none)> | 2011-01-14 13:57:25 +0100 |
---|---|---|
committer | Florian Jung <flo@thinkpad.(none)> | 2011-01-14 13:57:25 +0100 |
commit | 4681a24d43cf1ec03751f271c1ed1eafd9c80a29 (patch) | |
tree | 71fda5363b67d0098febdfe58107d12a7f82b6e1 | |
parent | b2d0c97e0ca7b7eb0a7195ddbf263b9953171e66 (diff) |
Fixed stupid bug in Envelope.cpp
Changed a "if (has_release) hold=false" into if (!has_release)
-rw-r--r-- | synth/envelope.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |