1
0
Fork 0
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:
gibustf 2018-11-03 13:38:45 -04:00
commit c0cf6e1c36

View file

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