aboutsummaryrefslogtreecommitdiffhomepage
path: root/peer.c
diff options
context:
space:
mode:
Diffstat (limited to 'peer.c')
-rw-r--r--peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.c b/peer.c
index 5b86b23..f5dc076 100644
--- a/peer.c
+++ b/peer.c
@@ -517,7 +517,7 @@ enet_peer_queue_outgoing_command (ENetPeer * peer, const ENetProtocol * command,
else
if (command -> header.flags & ENET_PROTOCOL_FLAG_UNSEQUENCED)
{
- ++ channel -> outgoingUnsequencedGroup;
+ ++ peer -> outgoingUnsequencedGroup;
outgoingCommand -> reliableSequenceNumber = 0;
outgoingCommand -> unreliableSequenceNumber = 0;