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

use jemalloc

This commit is contained in:
Robin Appelman 2019-08-29 22:28:38 +02:00
commit 8e39a1ed50
5 changed files with 36 additions and 5 deletions

View file

@ -158,16 +158,14 @@ impl Parse for PacketEntitiesMessage {
let mut entity =
Self::read_enter(&mut data, entity_index, state, base_line as usize)?;
let send_table = get_send_table(state, entity.server_class)?;
let updated_props = Self::read_update(&mut data, send_table, &mut entity.props)?;
//entity.apply_update(updated_props);
Self::read_update(&mut data, send_table, &mut entity.props)?;
entities.push(entity);
} else if pvs == PVS::Preserve {
let mut entity = get_entity_for_update(state, entity_index, pvs)?;
let send_table = get_send_table(state, entity.server_class)?;
let updated_props = Self::read_update(&mut data, send_table, &mut entity.props)?;
// entity.props = updated_props;
Self::read_update(&mut data, send_table, &mut entity.props)?;
entities.push(entity);
} else if state.entity_classes.contains_key(&entity_index) {