1
0
Fork 0
mirror of https://codeberg.org/icewind/vbsp.git synced 2026-06-03 10:44:07 +02:00

remove BspError::UnexpectedHeader

This commit is contained in:
Quaternions 2025-02-16 17:05:26 -08:00
commit 8f6496e456

View file

@ -7,8 +7,6 @@ use zip::result::ZipError;
#[non_exhaustive] #[non_exhaustive]
#[derive(Debug, Error)] #[derive(Debug, Error)]
pub enum BspError { pub enum BspError {
#[error("unexpected magic numbers or version")]
UnexpectedHeader(Header),
#[error("bsp lump is out of bounds of the bsp file")] #[error("bsp lump is out of bounds of the bsp file")]
LumpOutOfBounds(LumpEntry), LumpOutOfBounds(LumpEntry),
#[error("bsp game lump is out of bounds of the bsp file")] #[error("bsp game lump is out of bounds of the bsp file")]