mirror of
https://codeberg.org/demostf/parser.git
synced 2026-06-03 18:24:05 +02:00
Set in_pvs flag to true on entity updates
This commit is contained in:
parent
9f1f4cf69f
commit
1d14def1d5
1 changed files with 1 additions and 0 deletions
|
|
@ -316,6 +316,7 @@ impl Parse<'_> for PacketEntitiesMessage {
|
||||||
let send_table = get_send_table(state, entity.server_class)?;
|
let send_table = get_send_table(state, entity.server_class)?;
|
||||||
|
|
||||||
Self::read_update(&mut data, send_table, &mut entity.props, entity_index)?;
|
Self::read_update(&mut data, send_table, &mut entity.props, entity_index)?;
|
||||||
|
entity.in_pvs = true;
|
||||||
|
|
||||||
entities.push(entity);
|
entities.push(entity);
|
||||||
} else if state.entity_classes.contains_key(&entity_index) {
|
} else if state.entity_classes.contains_key(&entity_index) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue