Fix player list array sizes

This commit is contained in:
GriffinR committed 2022-11-08 13:46:11 -05:00
1 parent a7609df31b
commit 91915c5662
2 files changed
+5 -5

No files matched your search

+2 -2
View File
@@ -38,7 +38,7 @@ struct RfuPlayer
struct RfuPlayerList
{
struct RfuPlayer players[0]; // TODO: Should be size MAX_RFU_PLAYER_LIST_SIZE
struct RfuPlayer players[MAX_RFU_PLAYER_LIST_SIZE];
};
struct RfuIncomingPlayer
@@ -49,7 +49,7 @@ struct RfuIncomingPlayer
struct RfuIncomingPlayerList
{
struct RfuIncomingPlayer players[0]; // TODO: Should be size MAX_RFU_PLAYERS
struct RfuIncomingPlayer players[MAX_RFU_PLAYERS];
};
struct WirelessLink_Leader