1
0
Fork 0
mirror of https://codeberg.org/demostf/parser.git synced 2026-06-03 18:24:05 +02:00

fix handling of some saytext2 messages

This commit is contained in:
Robin Appelman 2021-02-16 17:13:27 +01:00
commit e2a631cef3
4 changed files with 2 additions and 1 deletions

View file

@ -177,7 +177,6 @@ impl BitRead<'_, LittleEndian> for SayText2Message {
let kind = stream.read()?;
let from = stream.read().or_else(handle_utf8_error)?;
let text = stream.read().or_else(handle_utf8_error)?;
stream.skip_bits(16)?;
(kind, Some(from), text)
};