projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e509ead
)
Use the outgoing split sequence number for every outgoing packet (#4864)
author
Rogier-5
<rogier777@gmail.com>
Thu, 29 Dec 2016 12:44:47 +0000
(13:44 +0100)
committer
Ner'zhul
<nerzhul@users.noreply.github.com>
Thu, 29 Dec 2016 12:44:47 +0000
(13:44 +0100)
(instead of the last incoming sequence number...)
Fixes #4848
src/network/connection.cpp
patch
|
blob
|
history
diff --git
a/src/network/connection.cpp
b/src/network/connection.cpp
index b711cae111b1b20a58c24efd6d38df3652975749..e11b4a953d55f9927044d1f9a85bd138491d53c5 100644
(file)
--- a/
src/network/connection.cpp
+++ b/
src/network/connection.cpp
@@
-1237,7
+1237,7
@@
void UDPPeer::RunCommandQueues(
u16 UDPPeer::getNextSplitSequenceNumber(u8 channel)
{
assert(channel < CHANNEL_COUNT); // Pre-condition
- return channels[channel].readNext
Incoming
SeqNum();
+ return channels[channel].readNext
Split
SeqNum();
}
void UDPPeer::setNextSplitSequenceNumber(u8 channel, u16 seqnum)