diff --git a/source/enet/protocol.c b/source/enet/protocol.c index 34658cdd..2e111a89 100755 --- a/source/enet/protocol.c +++ b/source/enet/protocol.c @@ -1548,7 +1548,12 @@ enet_protocol_send_outgoing_commands (ENetHost * host, ENetEvent * event, int ch ! enet_list_empty (& currentPeer -> sentReliableCommands) && ENET_TIME_GREATER_EQUAL (host -> serviceTime, currentPeer -> nextTimeout) && enet_protocol_check_timeouts (host, currentPeer, event) == 1) - return 1; + { + if (event != NULL && event -> type != ENET_EVENT_TYPE_NONE) + return 1; + else + continue; + } if ((enet_list_empty (& currentPeer -> outgoingReliableCommands) || enet_protocol_send_reliable_outgoing_commands (host, currentPeer)) && diff --git a/source/lib/enet.lib b/source/lib/enet.lib index 6db3fca8..22d8c5b9 100644 Binary files a/source/lib/enet.lib and b/source/lib/enet.lib differ