ref: 796c801be6b1db3a800a844ab58b9a5454951ace
parent: b5f940169c2968b54e8d48cf880f5999c5932922
author: Chris Moeller <[email protected]>
date: Wed Jun 12 00:06:19 EDT 2013
Subsong scanner always tries to play the first order now
--- a/dumb/src/it/itrender.c
+++ b/dumb/src/it/itrender.c
@@ -6244,7 +6244,8 @@
ba_played = bit_array_create(sigdata->n_orders * 256);
if (!ba_played) return -1;
- for (n = 0; n < sigdata->n_orders; n++) {
+ /* Skip the first order, it should always be played */
+ for (n = 1; n < sigdata->n_orders; n++) {
if ((sigdata->order[n] >= sigdata->n_patterns) ||
(is_pattern_silent(&sigdata->pattern[sigdata->order[n]], n) > 1))
bit_array_set(ba_played, n * 256);