shithub: dumb

Download patch

ref: 951ce0752e9c64a792551b2868613a1b5b85f884
parent: eaad8176c626959111f3c13fc82b1c4ad02a1e83
author: Chris Moeller <kode54@gmail.com>
date: Fri Jul 26 07:11:39 EDT 2013

Fixed songs with envelope loops on the last tick

--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -3836,7 +3836,6 @@
 		pe->value = envelope->node_y[0] << IT_ENVELOPE_SHIFT;
 	else if (pe->tick >= envelope->node_t[envelope->n_nodes-1]) {
 		pe->value = envelope->node_y[envelope->n_nodes-1] << IT_ENVELOPE_SHIFT;
-		return 1;
 	} else {
 		int ys = envelope->node_y[pe->next_node-1] << IT_ENVELOPE_SHIFT;
 		int ts = envelope->node_t[pe->next_node-1];