From 7787153f51b73424a28993b46768989f34b9aee8 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Fri, 8 Feb 2013 01:16:52 +0000 Subject: [PATCH] Update DUMB to revision 347a1170d6d00ec2ea9db2a3667ee7c8d2ef422b - Fixed envelope handling SVN r4110 (trunk) --- dumb/src/it/itrender.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumb/src/it/itrender.c b/dumb/src/it/itrender.c index 4211e31f8..e93ea9df6 100644 --- a/dumb/src/it/itrender.c +++ b/dumb/src/it/itrender.c @@ -3722,7 +3722,7 @@ static int update_it_envelope(IT_PLAYING *playing, IT_ENVELOPE *envelope, IT_PLA } pe->tick++; - while (pe->tick >= envelope->node_t[pe->next_node]) { + while (pe->tick > envelope->node_t[pe->next_node]) { pe->next_node++; if ((envelope->flags & IT_ENVELOPE_SUSTAIN_LOOP) && !(playing->flags & IT_PLAYING_SUSTAINOFF)) { if (pe->next_node > envelope->sus_loop_end) {