Changeset 298 for code/branches/merger/src/network/ClientConnection.cc
- Timestamp:
- Nov 28, 2007, 1:41:53 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/merger/src/network/ClientConnection.cc
r297 r298 132 132 bool ClientConnection::disconnectConnection(){ 133 133 ENetEvent event; 134 enet_peer_disconnect(server);135 //enet_peer_disconnect(server, 0);134 // enet_peer_disconnect(server); 135 enet_peer_disconnect(server, 0); 136 136 while(enet_host_service(client, &event, NETWORK_WAIT_TIMEOUT) > 0){ 137 137 switch (event.type)
Note: See TracChangeset
for help on using the changeset viewer.