aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tutorial.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tutorial.txt b/tutorial.txt
index f187e2d..9341d6c 100644
--- a/tutorial.txt
+++ b/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.