mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-01-18 07:32:28 +00:00
Update DUMB to revision 4df0e8c5be294fa1fe3ea96eff8387c2505912ec
- Fixed pattern counting, and swapped pattern counting flag SVN r4114 (trunk)
This commit is contained in:
parent
751983fccd
commit
0d7fc66078
1 changed files with 2 additions and 2 deletions
|
@ -648,7 +648,7 @@ static DUMB_IT_SIGDATA *it_mod_load_sigdata(DUMBFILE *f, int rstrict)
|
|||
|
||||
sigdata->n_patterns = -1;
|
||||
|
||||
if ( !( rstrict & 2 ) )
|
||||
if ( ( rstrict & 2 ) )
|
||||
{
|
||||
long total_sample_size;
|
||||
long remain;
|
||||
|
@ -674,7 +674,7 @@ static DUMB_IT_SIGDATA *it_mod_load_sigdata(DUMBFILE *f, int rstrict)
|
|||
}
|
||||
else
|
||||
{
|
||||
for (i = 0; i < sigdata->n_orders; i++)
|
||||
for (i = 0; i < 128; i++)
|
||||
{
|
||||
if (sigdata->order[i] > sigdata->n_patterns)
|
||||
sigdata->n_patterns = sigdata->order[i];
|
||||
|
|
Loading…
Reference in a new issue