From 572636062e61ad66cc2b4d232394d9de0645baf2 Mon Sep 17 00:00:00 2001 From: eihrul Date: Wed, 9 Jun 2010 21:16:23 +0000 Subject: 1.3.0 import --- peer.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'peer.c') diff --git a/peer.c b/peer.c index 1c616fa..d778ce1 100644 --- a/peer.c +++ b/peer.c @@ -325,7 +325,7 @@ void enet_peer_reset (ENetPeer * peer) { peer -> outgoingPeerID = ENET_PROTOCOL_MAXIMUM_PEER_ID; - peer -> sessionID = 0; + peer -> connectID = 0; peer -> state = ENET_PEER_STATE_DISCONNECTED; @@ -363,7 +363,7 @@ enet_peer_reset (ENetPeer * peer) peer -> windowSize = ENET_PROTOCOL_MAXIMUM_WINDOW_SIZE; peer -> incomingUnsequencedGroup = 0; peer -> outgoingUnsequencedGroup = 0; - peer -> disconnectData = 0; + peer -> eventData = 0; memset (peer -> unsequencedWindow, 0, sizeof (peer -> unsequencedWindow)); @@ -477,7 +477,7 @@ enet_peer_disconnect_later (ENetPeer * peer, enet_uint32 data) enet_list_empty (& peer -> sentReliableCommands))) { peer -> state = ENET_PEER_STATE_DISCONNECT_LATER; - peer -> disconnectData = data; + peer -> eventData = data; } else enet_peer_disconnect (peer, data); -- cgit v1.2.3