aboutsummaryrefslogtreecommitdiff
path: root/src/raw
diff options
context:
space:
mode:
Diffstat (limited to 'src/raw')
-rw-r--r--src/raw/parser.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/raw/parser.rs b/src/raw/parser.rs
index 97c0bc7..2de867b 100644
--- a/src/raw/parser.rs
+++ b/src/raw/parser.rs
@@ -283,8 +283,8 @@ pub fn parse_event<T: Read>(input: &mut T) -> ParseResult<CbtEvent> {
let iff = IFF::from_u8(input.read_u8()?).unwrap_or(IFF::None);
let buff = input.read_u8()?;
let result = CbtResult::from_u8(input.read_u8()?).unwrap_or(CbtResult::None);
- let is_activation = CbtActivation::from_u8(input.read_u8()?)?;
- let is_buffremove = CbtBuffRemove::from_u8(input.read_u8()?)?;
+ let is_activation = CbtActivation::from_u8(input.read_u8()?).unwrap_or(CbtActivation::None);
+ let is_buffremove = CbtBuffRemove::from_u8(input.read_u8()?).unwrap_or(CbtBuffRemove::None);
let is_ninety = input.read_u8()? != 0;
let is_fifty = input.read_u8()? != 0;
let is_moving = input.read_u8()? != 0;