mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-24 21:21:04 +00:00
Update DUMB to revision 667b479457fd7c1e9aff4ea8301295c81762bdf5
- Fixed IT envelope reading for node counts over 25, which are invalid SVN r4088 (trunk)
This commit is contained in:
parent
4ce4a05518
commit
86690be58b
1 changed files with 2 additions and 0 deletions
|
@ -306,6 +306,8 @@ static int it_read_envelope(IT_ENVELOPE *envelope, DUMBFILE *f)
|
|||
envelope->loop_end = dumbfile_getc(f);
|
||||
envelope->sus_loop_start = dumbfile_getc(f);
|
||||
envelope->sus_loop_end = dumbfile_getc(f);
|
||||
if (envelope->n_nodes > 25)
|
||||
envelope->n_nodes = 25;
|
||||
for (n = 0; n < envelope->n_nodes; n++) {
|
||||
envelope->node_y[n] = dumbfile_getc(f);
|
||||
envelope->node_t[n] = dumbfile_igetw(f);
|
||||
|
|
Loading…
Reference in a new issue