mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 09:04:13 +02:00
fix parsing var int properties
This commit is contained in:
parent
a5bfe128ed
commit
4d40fd4109
3 changed files with 9 additions and 19 deletions
|
|
@ -62,7 +62,7 @@ function readEnterPVS(stream: BitStream, entityId: number, match: Match, baseLin
|
|||
applyEntityUpdate(entity, staticBaseLine);
|
||||
if (staticBaseLine.bitsLeft > 7) {
|
||||
console.log(staticBaseLine.length, staticBaseLine.index);
|
||||
throw new Error('Unexpected data left at the end of staticBaseline, ' + stream.bitsLeft + ' bits left');
|
||||
throw new Error('Unexpected data left at the end of staticBaseline, ' + staticBaseLine.bitsLeft + ' bits left');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue