Skip to content

Commit aae7d42

Browse files
committed
fix: add reserved field to chunk
1 parent 461fe49 commit aae7d42

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

crates/league-modpkg/src/chunk.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ impl ModpkgChunk {
3232
let path_index = reader.read_u32::<LE>()?;
3333
let wad_paths_index = reader.read_u32::<LE>()?;
3434
let layers_index = reader.read_u32::<LE>()?;
35+
let _ = reader.read_u32::<LE>()?; // reserved
3536

3637
Ok(Self {
3738
path_hash,

crates/league-modpkg/src/lib.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ use std::collections::HashMap;
44

55
mod chunk;
66
mod error;
7-
mod pkg_utils;
87
mod read;
98

109
#[derive(Debug, PartialEq)]

crates/league-modpkg/src/pkg_utils.rs

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)