mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-04 10:34:11 +02:00
fix tempentities for protocol version 23
This commit is contained in:
parent
185ff6365f
commit
3055242fd9
10 changed files with 85 additions and 65 deletions
|
|
@ -108,7 +108,7 @@ fn test_game_event_roundtrip() {
|
|||
}
|
||||
|
||||
impl ParseBitSkip<'_> for GameEventMessage {
|
||||
fn parse_skip(stream: &mut Stream) -> Result<()> {
|
||||
fn parse_skip(stream: &mut Stream, _state: &ParserState) -> Result<()> {
|
||||
let length: u16 = stream.read_sized(11)?;
|
||||
stream.skip_bits(length as usize).map_err(ParseError::from)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue