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

actually cleanup instance baselines

This commit is contained in:
Robin Appelman 2022-04-09 14:48:34 +02:00
commit e78c1f8608

View file

@ -205,6 +205,8 @@ impl<'a> ParserState {
for entity in ent_message.entities.iter() {
if entity.pvs == PVS::Delete {
self.entity_classes.remove(&entity.entity_index);
self.instance_baselines[0].remove(&entity.entity_index);
self.instance_baselines[1].remove(&entity.entity_index);
}
self.entity_classes
.insert(entity.entity_index, entity.server_class);