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

early sendprop cleanup

This commit is contained in:
Robin Appelman 2019-04-07 19:37:51 +02:00
commit e3ddd9f3e2
3 changed files with 36 additions and 28 deletions

View file

@ -29,7 +29,7 @@ impl Parse for SendTable {
for _ in 0..prop_count {
let prop: SendPropDefinition =
SendPropDefinition::read(stream, name.clone())?;
SendPropDefinition::read(stream)?;
if prop.flags.contains(SendPropFlag::InsideArray) {
if array_element_prop.is_some()
|| prop.flags.contains(SendPropFlag::ChangesOften)