1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-03 16:44:12 +02:00

fix fast mode

This commit is contained in:
Robin Appelman 2017-09-23 22:58:30 +02:00
commit 33fb99f07f

View file

@ -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() {