eihrul 20 years ago
parent
commit
bd51177c64
1 changed files with 1 additions and 1 deletions
  1. 1 1
      peer.c

+ 1 - 1
peer.c

@@ -517,7 +517,7 @@ enet_peer_queue_outgoing_command (ENetPeer * peer, const ENetProtocol * command,
     else
     else
     if (command -> header.flags & ENET_PROTOCOL_FLAG_UNSEQUENCED)
     if (command -> header.flags & ENET_PROTOCOL_FLAG_UNSEQUENCED)
     {
     {
-       ++ channel -> outgoingUnsequencedGroup;
+       ++ peer -> outgoingUnsequencedGroup;
 
 
        outgoingCommand -> reliableSequenceNumber = 0;
        outgoingCommand -> reliableSequenceNumber = 0;
        outgoingCommand -> unreliableSequenceNumber = 0;
        outgoingCommand -> unreliableSequenceNumber = 0;