mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-10 14:51:40 +00:00
Update DUMB to revision 32c9bb420240cac2120e7e01c2683df88d1dc1ac
- Corrected MOD reader to only check the known number of orders when calculating the pattern count SVN r4100 (trunk)
This commit is contained in:
parent
7cd543c554
commit
1e422f8921
1 changed files with 1 additions and 1 deletions
|
@ -631,7 +631,7 @@ static DUMB_IT_SIGDATA *it_mod_load_sigdata(DUMBFILE *f, int rstrict)
|
||||||
|
|
||||||
/* Work out how many patterns there are. */
|
/* Work out how many patterns there are. */
|
||||||
sigdata->n_patterns = -1;
|
sigdata->n_patterns = -1;
|
||||||
for (i = 0; i < 128; i++)
|
for (i = 0; i < sigdata->n_orders; i++)
|
||||||
if (sigdata->n_patterns < sigdata->order[i])
|
if (sigdata->n_patterns < sigdata->order[i])
|
||||||
sigdata->n_patterns = sigdata->order[i];
|
sigdata->n_patterns = sigdata->order[i];
|
||||||
sigdata->n_patterns++;
|
sigdata->n_patterns++;
|
||||||
|
|
Loading…
Reference in a new issue