mirror of
https://github.com/dashr9230/SA-MP.git
synced 2025-07-18 17:38:12 +08:00
[raknet] Match ReliabilityLayer::WriteToBitStreamFromInternalPacket(...)
This commit is contained in:
@ -1684,7 +1684,7 @@ int ReliabilityLayer::WriteToBitStreamFromInternalPacket( RakNet::BitStream *bit
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Write the PacketReliability. This is encoded in 3 bits
|
// Write the PacketReliability. This is encoded in 3 bits
|
||||||
bitStream->WriteBits( (const unsigned char *)&c, 3, true );
|
bitStream->WriteBits( (const unsigned char *)&c, reliabilitySizeInBits, true );
|
||||||
|
|
||||||
// If the reliability requires an ordering channel and ordering index, we Write those.
|
// If the reliability requires an ordering channel and ordering index, we Write those.
|
||||||
if ( internalPacket->reliability == UNRELIABLE_SEQUENCED || internalPacket->reliability == RELIABLE_SEQUENCED || internalPacket->reliability == RELIABLE_ORDERED )
|
if ( internalPacket->reliability == UNRELIABLE_SEQUENCED || internalPacket->reliability == RELIABLE_SEQUENCED || internalPacket->reliability == RELIABLE_ORDERED )
|
||||||
|
Reference in New Issue
Block a user