mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 09:04:13 +02:00
fix reading entity baseline
This commit is contained in:
parent
ce6dec06ac
commit
1ebf40dda4
1 changed files with 2 additions and 1 deletions
|
|
@ -39,7 +39,8 @@ function readEnterPVS(stream: BitStream, entityId: EntityId, match: Match): Pack
|
|||
const staticBaseLine = match.staticBaseLines[serverClass.id];
|
||||
if (staticBaseLine) {
|
||||
staticBaseLine.index = 0;
|
||||
entity.props = getEntityUpdate(sendTable, staticBaseLine);
|
||||
const props = getEntityUpdate(sendTable, staticBaseLine);
|
||||
entity.applyPropUpdate(props);
|
||||
match.baseLineCache.set(serverClass, entity.clone());
|
||||
// if (staticBaseLine.bitsLeft > 7) {
|
||||
// console.log(staticBaseLine.length, staticBaseLine.index);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue