diff options
author | eihrul <eihrul> | 2006-12-13 04:36:07 +0000 |
---|---|---|
committer | eihrul <eihrul> | 2006-12-13 04:36:07 +0000 |
commit | 92f904f56a5c0f3f7f81dc37645648d9c4368bd7 (patch) | |
tree | 25012a9539552eaded9b8f97e9c6f057e466e2b5 /peer.c | |
parent | df636cc8f79fac3c665a9740c5803ee71f965d16 (diff) | |
download | enet-92f904f56a5c0f3f7f81dc37645648d9c4368bd7.tar.gz enet-92f904f56a5c0f3f7f81dc37645648d9c4368bd7.zip |
*** empty log message ***
Diffstat (limited to 'peer.c')
-rw-r--r-- | peer.c | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -116,7 +116,8 @@ enet_peer_send (ENetPeer * peer, enet_uint8 channelID, ENetPacket * packet) fragmentNumber, fragmentOffset; - packet -> flags = ENET_PACKET_FLAG_RELIABLE; + packet -> flags |= ENET_PACKET_FLAG_RELIABLE; + packet -> flags &= ~ENET_PACKET_FLAG_UNSEQUENCED; for (fragmentNumber = 0, fragmentOffset = 0; @@ -311,9 +312,6 @@ enet_peer_reset (ENetPeer * peer) peer -> outgoingPeerID = ENET_PROTOCOL_MAXIMUM_PEER_ID; peer -> sessionID = 0; - peer -> address.host = ENET_HOST_ANY; - peer -> address.port = 0; - peer -> state = ENET_PEER_STATE_DISCONNECTED; peer -> incomingBandwidth = 0; |