mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed group av issues.
This commit is contained in:
parent
3e612eecf6
commit
26a6bde6b3
|
@ -1807,7 +1807,8 @@ static unsigned int lossy_packet_not_received(Group_c *g, int peer_index, uint16
|
|||
if (top_distance < MAX_LOSSY_COUNT) {
|
||||
unsigned int i;
|
||||
|
||||
for (i = g->group[peer_index].bottom_lossy_number; i != (g->group[peer_index].bottom_lossy_number + top_distance);
|
||||
for (i = g->group[peer_index].bottom_lossy_number + 1;
|
||||
i != (g->group[peer_index].bottom_lossy_number + top_distance + 1);
|
||||
++i) {
|
||||
g->group[peer_index].recv_lossy[i % MAX_LOSSY_COUNT] = 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user