mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Use the outgoing split sequence number for every outgoing packet (#4864)
(instead of the last incoming sequence number...) Fixes #4848
This commit is contained in:
		@@ -1237,7 +1237,7 @@ void UDPPeer::RunCommandQueues(
 | 
			
		||||
u16 UDPPeer::getNextSplitSequenceNumber(u8 channel)
 | 
			
		||||
{
 | 
			
		||||
	assert(channel < CHANNEL_COUNT); // Pre-condition
 | 
			
		||||
	return channels[channel].readNextIncomingSeqNum();
 | 
			
		||||
	return channels[channel].readNextSplitSeqNum();
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void UDPPeer::setNextSplitSequenceNumber(u8 channel, u16 seqnum)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user