aboutsummaryrefslogtreecommitdiffhomepage
path: root/peer.c
diff options
context:
space:
mode:
authoreihrul <eihrul>2008-07-30 09:31:29 +0000
committereihrul <eihrul>2008-07-30 09:31:29 +0000
commit08836d86b3a11017aab9f1e7d592997933c74517 (patch)
tree4c46077b35d68ae0d6847450138075c885308877 /peer.c
parent42242320e4333d6755cd0577838b93923083859d (diff)
downloadenet-08836d86b3a11017aab9f1e7d592997933c74517.tar.gz
enet-08836d86b3a11017aab9f1e7d592997933c74517.zip
duplicated disconnect packet fixes
Diffstat (limited to 'peer.c')
-rw-r--r--peer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/peer.c b/peer.c
index f9d73fc..c08bd95 100644
--- a/peer.c
+++ b/peer.c
@@ -422,6 +422,7 @@ enet_peer_disconnect (ENetPeer * peer, enet_uint32 data)
if (peer -> state == ENET_PEER_STATE_DISCONNECTING ||
peer -> state == ENET_PEER_STATE_DISCONNECTED ||
+ peer -> state == ENET_PEER_STATE_ACKNOWLEDING_DISCONNECT ||
peer -> state == ENET_PEER_STATE_ZOMBIE)
return;