mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-12-03 00:01:32 +00:00
fix: support more max players
This commit is contained in:
1 parent
d017bfc30a
commit
771a632f05
13 files changed
+65
-37
No files matched your search
@@ -801,7 +801,7 @@ void CPlatformNetworkManagerStub::SearchForGames()
|
||||
|
||||
memset(info->data.players, 0, sizeof(info->data.players));
|
||||
memset(info->data.szPlayers, 0, sizeof(info->data.szPlayers));
|
||||
for (int p = 0; p < MINECRAFT_NET_MAX_PLAYERS && p < lanSessions[i].playerCount; p++)
|
||||
for (int p = 0; p < WIN64_LAN_BROADCAST_PLAYERS && p < lanSessions[i].playerCount; p++)
|
||||
{
|
||||
if (lanSessions[i].playerNames[p][0] != 0)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user