Use enumerated_array for UDP_mdata_store::pkt_num

This commit is contained in:
Kp 2022-07-16 15:26:12 +00:00
parent bfd83c6702
commit 1d23e5848f

View file

@ -166,7 +166,7 @@ struct UDP_mdata_store : prohibit_void_ptr<UDP_mdata_store>
{
fix64 pkt_initial_timestamp; // initial timestamp to see if packet is outdated
enumerated_array<fix64, MAX_PLAYERS, playernum_t> pkt_timestamp; // Packet timestamp
std::array<uint32_t, MAX_PLAYERS> pkt_num; // Packet number
enumerated_array<uint32_t, MAX_PLAYERS, playernum_t> pkt_num; // Packet number
sbyte used;
ubyte Player_num; // sender of this packet
uint16_t data_size;