mirror of
https://codeberg.org/icewind/vbsp.git
synced 2026-06-03 10:44:07 +02:00
use Leaves constructor in Leaves BinRead
The leaves are supposed to be sorted and that was skipped.
This commit is contained in:
parent
07a9fe5f71
commit
c1ea1363bd
1 changed files with 1 additions and 1 deletions
|
|
@ -87,7 +87,7 @@ impl BinRead for Leaves {
|
|||
)?);
|
||||
}
|
||||
|
||||
Ok(Self { leaves: entries })
|
||||
Ok(Self::new(entries))
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue