mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 18:54:05 +02:00
Add support for BspVersion 21
This commit is contained in:
parent
f21afd7db7
commit
ba4e0e8093
2 changed files with 2 additions and 1 deletions
|
|
@ -144,7 +144,7 @@ impl BinRead for StaticPropLump {
|
|||
args: Self::Args<'static>,
|
||||
) -> BinResult<Self> {
|
||||
match args.0 {
|
||||
4..=7 | 10 => {
|
||||
4..=7 | 9 | 10 => {
|
||||
RawStaticPropLump::read_options(reader, endian, (args.0,)).map(StaticPropLump::from)
|
||||
}
|
||||
version => Err(binrw::Error::Custom {
|
||||
|
|
|
|||
|
|
@ -78,6 +78,7 @@ impl Index<LumpType> for Directories {
|
|||
pub enum BspVersion {
|
||||
Version19 = 19,
|
||||
Version20 = 20,
|
||||
Version21 = 21,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq, Eq, BinRead)]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue