mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 22:47:29 +08:00
[raknet] Match ReliabilityLayer::SplitPacket(...)
This commit is contained in:
parent
bcdbedc0be
commit
f307ceee8c
@ -2071,7 +2071,7 @@ void ReliabilityLayer::SplitPacket( InternalPacket *internalPacket, int MTUSize
|
|||||||
maxDataSize = MTUSize - UDP_HEADER_SIZE;
|
maxDataSize = MTUSize - UDP_HEADER_SIZE;
|
||||||
|
|
||||||
if ( encryptor.IsKeySet() )
|
if ( encryptor.IsKeySet() )
|
||||||
maxDataSize -= 16; // Extra data for the encryptor
|
maxDataSize -= 8; // Extra data for the encryptor
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
// Make sure we need to split the packet to begin with
|
// Make sure we need to split the packet to begin with
|
||||||
|
Loading…
Reference in New Issue
Block a user