aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--peer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/peer.c b/peer.c
index c08bd95..52e34a5 100644
--- a/peer.c
+++ b/peer.c
@@ -422,7 +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_ACKNOWLEDGING_DISCONNECT ||
peer -> state == ENET_PEER_STATE_ZOMBIE)
return;