mirror of
https://github.com/dashr9230/SA-MP.git
synced 2024-12-22 14:37:29 +08:00
[raknet] Match ReliabilityLayer::SendBitStream(...)
This commit is contained in:
parent
f307ceee8c
commit
f67d8de086
@ -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 );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user