Selaa lähdekoodia

*** empty log message ***

eihrul 19 vuotta sitten
vanhempi
commit
e310eade3b
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      tutorial.txt

+ 1 - 1
tutorial.txt

@@ -239,7 +239,7 @@ host. No event is generated.
 i.e.
 i.e.
     ENetEvent event;
     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
     /* Allow up to 3 seconds for the disconnect to succeed
      * and drop any packets received packets.
      * and drop any packets received packets.