09.05.2019, 15:31
your last constant (lobbyPassword) in enum is 0 so when you declare the array LobbyInfo the upper block of 2nd index will be 1.Or in other words, the sizeof lobby enum is 1 as sizeof any enumerator is last constant + 1.