Update DUMB to revision 347a1170d6d00ec2ea9db2a3667ee7c8d2ef422b

- Fixed envelope handling



SVN r4110 (trunk)
This commit is contained in:
Randy Heit 2013-02-08 01:16:52 +00:00
parent 566766f041
commit 7787153f51

View file

@ -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) {