Use the outgoing split sequence number for every outgoing packet (#4864)

(instead of the last incoming sequence number...)

Fixes #4848
master
Rogier-5 2016-12-29 13:44:47 +01:00 committed by Ner'zhul
parent e509ead680
commit abd68d3466
1 changed files with 1 additions and 1 deletions

View File

@ -1237,7 +1237,7 @@ void UDPPeer::RunCommandQueues(
u16 UDPPeer::getNextSplitSequenceNumber(u8 channel) u16 UDPPeer::getNextSplitSequenceNumber(u8 channel)
{ {
assert(channel < CHANNEL_COUNT); // Pre-condition assert(channel < CHANNEL_COUNT); // Pre-condition
return channels[channel].readNextIncomingSeqNum(); return channels[channel].readNextSplitSeqNum();
} }
void UDPPeer::setNextSplitSequenceNumber(u8 channel, u16 seqnum) void UDPPeer::setNextSplitSequenceNumber(u8 channel, u16 seqnum)