Improvements to object resolution

This commit is contained in:
Casper Warden
2024-09-09 01:45:51 +01:00
parent e2a9837172
commit dd7b313b54
7 changed files with 18 additions and 26 deletions

View File

@@ -234,7 +234,6 @@ export class ParticleSystem
}
const systemBlock = Buffer.allocUnsafe(68);
let pos = 0;
console.log('FLAGS: ' + this.flags);
systemBlock.writeUInt32LE(this.crc, pos); pos = pos + 4;
systemBlock.writeUInt32LE(this.flags, pos); pos = pos + 4; // Flags is zero
systemBlock.writeUInt8(this.pattern, pos++);