aboutsummaryrefslogtreecommitdiff
path: root/modules/eadsr.c
diff options
context:
space:
mode:
authorTom Schouten <doelie@users.sourceforge.net>2003-01-27 17:06:07 +0000
committerTom Schouten <doelie@users.sourceforge.net>2003-01-27 17:06:07 +0000
commit968e313857743435e662c831a8b29f50b20e0d41 (patch)
tree3c120456d9378257942767bf0d360932991fa5e3 /modules/eadsr.c
parent7f5bcf8ad536a674ba6f626e1a11ebd660fdec24 (diff)
creb 0.7
svn path=/trunk/externals/creb/; revision=364
Diffstat (limited to 'modules/eadsr.c')
-rw-r--r--modules/eadsr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/eadsr.c b/modules/eadsr.c
index 0e0b9db..bba96cd 100644
--- a/modules/eadsr.c
+++ b/modules/eadsr.c
@@ -115,7 +115,7 @@ static t_int *eadsr_perform(t_int *w)
state -= decay*(state-sustain);
}
- ctl->c_state = state;
+ ctl->c_state = IS_DENORMAL(state) ? 0 : state;
return (w+4);
}