From 08836d86b3a11017aab9f1e7d592997933c74517 Mon Sep 17 00:00:00 2001 From: eihrul Date: Wed, 30 Jul 2008 09:31:29 +0000 Subject: duplicated disconnect packet fixes --- peer.c | 1 + 1 file changed, 1 insertion(+) (limited to 'peer.c') 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; -- cgit v1.2.3