mirror of
https://github.com/demostf/demo.js
synced 2026-06-04 00:54:14 +02:00
Fix BSPDecal parsing
This commit is contained in:
parent
ca5188e8f6
commit
c0cf6e1c36
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ export function ParseBSPDecal(stream: BitStream): BSPDecalPacket { // 21: ParseB
|
||||||
const textureIndex = stream.readBits(9);
|
const textureIndex = stream.readBits(9);
|
||||||
if (stream.readBoolean()) {
|
if (stream.readBoolean()) {
|
||||||
entIndex = stream.readBits(11);
|
entIndex = stream.readBits(11);
|
||||||
modelIndex = stream.readBits(12);
|
modelIndex = stream.readBits(13);
|
||||||
}
|
}
|
||||||
const lowPriority = stream.readBoolean();
|
const lowPriority = stream.readBoolean();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue