attempt to fix weirdness in entry appdata

png-branch
an 2018-12-13 04:07:22 -05:00
parent c1ece8b116
commit d397262cf4
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ impl Wad<'_>
if offset + size > b.len() {return err_msg("not enough data for entry");}
let chunks = get_chunks(&b[offset..offset+size], is_old)?;
let appdata = &b[p+entsize..p+entsize+appsize];
let appdata = &b[p..p+appsize];
entries.insert(index, Entry{chunks, appdata});