mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
ENet 1.3.3
git-svn-id: https://svn.eduke32.com/eduke32@1963 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
1dbcae56d5
commit
0cb474f6be
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ extern "C"
|
||||||
|
|
||||||
#define ENET_VERSION_MAJOR 1
|
#define ENET_VERSION_MAJOR 1
|
||||||
#define ENET_VERSION_MINOR 3
|
#define ENET_VERSION_MINOR 3
|
||||||
#define ENET_VERSION_PATCH 2
|
#define ENET_VERSION_PATCH 3
|
||||||
#define ENET_VERSION_CREATE(major, minor, patch) (((major)<<16) | ((minor)<<8) | (patch))
|
#define ENET_VERSION_CREATE(major, minor, patch) (((major)<<16) | ((minor)<<8) | (patch))
|
||||||
#define ENET_VERSION ENET_VERSION_CREATE(ENET_VERSION_MAJOR, ENET_VERSION_MINOR, ENET_VERSION_PATCH)
|
#define ENET_VERSION ENET_VERSION_CREATE(ENET_VERSION_MAJOR, ENET_VERSION_MINOR, ENET_VERSION_PATCH)
|
||||||
|
|
||||||
|
|
|
@ -776,7 +776,7 @@ enet_protocol_handle_disconnect (ENetHost * host, ENetPeer * peer, const ENetPro
|
||||||
|
|
||||||
enet_peer_reset_queues (peer);
|
enet_peer_reset_queues (peer);
|
||||||
|
|
||||||
if (peer -> state == ENET_PEER_STATE_CONNECTION_SUCCEEDED)
|
if (peer -> state == ENET_PEER_STATE_CONNECTION_SUCCEEDED || peer -> state == ENET_PEER_STATE_DISCONNECTING)
|
||||||
enet_protocol_dispatch_state (host, peer, ENET_PEER_STATE_ZOMBIE);
|
enet_protocol_dispatch_state (host, peer, ENET_PEER_STATE_ZOMBIE);
|
||||||
else
|
else
|
||||||
if (peer -> state != ENET_PEER_STATE_CONNECTED && peer -> state != ENET_PEER_STATE_DISCONNECT_LATER)
|
if (peer -> state != ENET_PEER_STATE_CONNECTED && peer -> state != ENET_PEER_STATE_DISCONNECT_LATER)
|
||||||
|
|
Loading…
Reference in a new issue