mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 09:04:13 +02:00
save viewangles
This commit is contained in:
parent
42fdddb4b0
commit
fe115329a7
7 changed files with 38 additions and 10 deletions
|
|
@ -38,10 +38,10 @@ function readEnterPVS(stream: BitStream, entityId: number, match: Match): Packet
|
|||
staticBaseLine.index = 0;
|
||||
applyEntityUpdate(entity, sendTable, staticBaseLine);
|
||||
match.baseLineCache[serverClass.id] = entity.clone();
|
||||
if (staticBaseLine.bitsLeft > 7) {
|
||||
// if (staticBaseLine.bitsLeft > 7) {
|
||||
// console.log(staticBaseLine.length, staticBaseLine.index);
|
||||
throw new Error('Unexpected data left at the end of staticBaseline, ' + staticBaseLine.bitsLeft + ' bits left');
|
||||
}
|
||||
// throw new Error('Unexpected data left at the end of staticBaseline, ' + staticBaseLine.bitsLeft + ' bits left');
|
||||
// }
|
||||
}
|
||||
entity.serialNumber = serial;
|
||||
return entity;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue