Commit 31-player lobby support (untested, needs follow-up)
Carry the remaining CTCL, lobby, and player-limit updates onto the new moreplayers branch. This change set is intentionally marked untested and may still be broken. It needs follow-up validation and likely further work before it should be considered stable. Co-authored-by: Claude Sonnet 4.6 (Anthropic) <noreply@anthropic.com> Co-authored-by: GitHub Copilot <copilot@github.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
GitHub Copilot
parent
106bb5b59f
commit
acd4e40fa2
@@ -808,8 +808,8 @@ void NetMissionParameters::MWNetMissionParameters::SaveParameters(DynamicMemoryS
|
||||
stream->WriteBits(&m_pureMapCycle,1);
|
||||
|
||||
|
||||
stream->WriteBits(&m_maxPlayers, 5); // 16 players maximum
|
||||
stream->WriteBits(&m_maxBots, 5); // 16 players maximum
|
||||
stream->WriteBits(&m_maxPlayers, 5); // max 31 players
|
||||
stream->WriteBits(&m_maxBots, 5); // max 31
|
||||
stream->WriteBits(&m_mapID, 16); // 65535 maps available
|
||||
stream->WriteBits(&m_mapClientCRC, 64);
|
||||
|
||||
@@ -927,8 +927,8 @@ void NetMissionParameters::MWNetMissionParameters::LoadParameters(MemoryStream *
|
||||
stream->ReadBits(&m_useMapCycle,1);
|
||||
stream->ReadBits(&m_pureMapCycle,1);
|
||||
|
||||
stream->ReadBits(&m_maxPlayers, 5); // 16 players max
|
||||
stream->ReadBits(&m_maxBots, 5); // 16 players max
|
||||
stream->ReadBits(&m_maxPlayers, 5); // max 31 players
|
||||
stream->ReadBits(&m_maxBots, 5); // max 31
|
||||
stream->ReadBits(&m_mapID, 16); // 65535 maps available
|
||||
stream->ReadBits(&m_mapClientCRC, 64);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user