mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[raknet] Match ReliabilityLayer::SendBitStream(...)
This commit is contained in:
@@ -1195,7 +1195,7 @@ void ReliabilityLayer::SendBitStream( SOCKET s, PlayerID playerId, RakNet::BitSt
|
||||
oldLength = length;
|
||||
|
||||
encryptor.Encrypt( ( unsigned char* ) bitStream->GetData(), length, ( unsigned char* ) bitStream->GetData(), &length );
|
||||
statistics.encryptionBitsSent = ( length - oldLength ) * 8;
|
||||
statistics.encryptionBitsSent += ( length - oldLength ) * 8;
|
||||
|
||||
assert( ( length % 16 ) == 0 );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user