Эх сурвалжийг харах

*** empty log message ***

eihrul 19 жил өмнө
parent
commit
e310eade3b
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      tutorial.txt

+ 1 - 1
tutorial.txt

@@ -239,7 +239,7 @@ host. No event is generated.
 i.e.
     ENetEvent event;
     
-    enet_peer_disconnect (& client -> peers [0]);
+    enet_peer_disconnect (& client -> peers [0], 0);
 
     /* Allow up to 3 seconds for the disconnect to succeed
      * and drop any packets received packets.