diff --git a/src/nitro/communication/messages/outgoing/camera/RenderRoomMessageComposer.ts b/src/nitro/communication/messages/outgoing/camera/RenderRoomMessageComposer.ts index 6375649f..802056d5 100644 --- a/src/nitro/communication/messages/outgoing/camera/RenderRoomMessageComposer.ts +++ b/src/nitro/communication/messages/outgoing/camera/RenderRoomMessageComposer.ts @@ -1,6 +1,7 @@ import { RenderTexture } from 'pixi.js'; +import { Byte } from '../../../../../core'; import { IMessageComposer } from '../../../../../core/communication/messages/IMessageComposer'; -import { PNGEncoder } from '../../../../utils/PNGEncoder'; +import { TextureUtils } from '../../../../../room'; export class RenderRoomMessageComposer implements IMessageComposer> { @@ -23,8 +24,15 @@ export class RenderRoomMessageComposer implements IMessageComposer>> 8)); + _local_8 = (PNGEncoder.crcTable[((_local_8 ^ int8View[--writer1.position]) & 0xFF)] ^ (_local_8 >>> 8)); _local_7++; }