engine: net_chan: fix size of outgoing BZ2 compressed packets
This commit is contained in:
parent
22da42b121
commit
888599677e
1 changed files with 1 additions and 1 deletions
|
@ -761,7 +761,7 @@ static void Netchan_CreateFragments_( netchan_t *chan, sizebuf_t *msg )
|
|||
Con_Reportf( "Compressing split packet with BZip2 (%d -> %d bytes)\n", uSourceSize, uCompressedSize );
|
||||
memcpy( msg->pData, "BZ2", 4 );
|
||||
memcpy( msg->pData + 4, pbOut, uCompressedSize );
|
||||
MSG_SeekToBit( msg, uCompressedSize << 3, SEEK_SET );
|
||||
MSG_SeekToBit( msg, ( uCompressedSize + 4 ) << 3, SEEK_SET );
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Add table
Reference in a new issue