We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdbaeb9 commit 4824c26Copy full SHA for 4824c26
1 file changed
kcp2k/Assets/kcp2k/kcp/Kcp.cs
@@ -412,7 +412,10 @@ internal void ParseUna(uint una)
412
// ikcp_parse_fastack
413
void ParseFastack(uint sn, uint ts) // serial number, timestamp
414
{
415
- if (Utils.TimeDiff(sn, snd_una) < 0 || Utils.TimeDiff(sn, snd_nxt) >= 0)
+ if (Utils.TimeDiff(sn, snd_una) < 0)
416
+ return;
417
+
418
+ if (Utils.TimeDiff(sn, snd_nxt) >= 0)
419
return;
420
421
foreach (Segment seg in snd_buf)
0 commit comments