mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
fix fast mode
This commit is contained in:
parent
b11cd7eec0
commit
33fb99f07f
1 changed files with 1 additions and 2 deletions
|
|
@ -22,7 +22,6 @@ export class Parser {
|
|||
public readonly stream: BitStream;
|
||||
public readonly parserState: ParserState;
|
||||
private header: Header | null = null;
|
||||
protected readonly skipPackets: PacketTypeId[];
|
||||
|
||||
public viewOrigin: number[][] = [[], []];
|
||||
public viewAngles: number[][] = [[], []];
|
||||
|
|
@ -30,7 +29,7 @@ export class Parser {
|
|||
constructor(stream: BitStream, skipPackets: PacketTypeId[] = []) {
|
||||
this.stream = stream;
|
||||
this.parserState = new ParserState();
|
||||
this.skipPackets = skipPackets;
|
||||
this.parserState.skippedPackets = skipPackets;
|
||||
}
|
||||
|
||||
public getHeader() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue