mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-11 01:38:17 +08:00
[raknet] Match ReliabilityLayer::SendBitStream(...)
This commit is contained in:
1 parent
f307ceee8c
commit
f67d8de086
1 file changed
+1
-1
@@ -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