Explorar el Código

another typo fix

Lee Salzman hace 12 años
padre
commit
51f303d5e2
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      peer.c

+ 1 - 1
peer.c

@@ -546,7 +546,7 @@ enet_peer_disconnect (ENetPeer * peer, enet_uint32 data)
 
     if (peer -> state == ENET_PEER_STATE_CONNECTED || peer -> state == ENET_PEER_STATE_DISCONNECT_LATER)
     {
-        enet_peer_notify_disconnect (peer);
+        enet_peer_on_disconnect (peer);
 
         peer -> state = ENET_PEER_STATE_DISCONNECTING;
     }