Parcourir la source

*** empty log message ***

eihrul il y a 19 ans
Parent
commit
e310eade3b
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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.