mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-09-19 12:16:15 +08:00
[raknet] Match ReliabilityLayer::Send(...)
This commit is contained in:
@ -890,7 +890,7 @@ bool ReliabilityLayer::Send( char *data, int numberOfBitsToSend, PacketPriority
|
||||
int maxDataSize = MTUSize - UDP_HEADER_SIZE - headerLength;
|
||||
|
||||
if ( encryptor.IsKeySet() )
|
||||
maxDataSize -= 16; // Extra data for the encryptor
|
||||
maxDataSize -= 8; // Extra data for the encryptor
|
||||
|
||||
bool splitPacket = numberOfBytesToSend > maxDataSize;
|
||||
|
||||
|
Reference in New Issue
Block a user