attempt?
This commit is contained in:
parent
6be38028b1
commit
692f2a5c83
|
@ -646,7 +646,8 @@ int SendMPPacketGeneric(u32 type, u8* packet, int len, u64 timestamp)
|
||||||
if (!Host) return 0;
|
if (!Host) return 0;
|
||||||
|
|
||||||
// TODO make the reliable part optional?
|
// TODO make the reliable part optional?
|
||||||
u32 flags = ENET_PACKET_FLAG_RELIABLE;
|
//u32 flags = ENET_PACKET_FLAG_RELIABLE;
|
||||||
|
u32 flags = ENET_PACKET_FLAG_UNSEQUENCED;
|
||||||
|
|
||||||
ENetPacket* enetpacket = enet_packet_create(nullptr, sizeof(MPPacketHeader)+len, flags);
|
ENetPacket* enetpacket = enet_packet_create(nullptr, sizeof(MPPacketHeader)+len, flags);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue