Add missing files in 4942cabab5

This was SVN commit r24488.
This commit is contained in:
Stan
2020-12-31 14:27:02 +00:00
parent 4942cabab5
commit e009d322cc
21 changed files with 49 additions and 45 deletions
+1 -1
View File
@@ -738,7 +738,7 @@ void CNetServerWorker::AddPlayer(const CStr& guid, const CStrW& name)
{
// Find all player IDs in active use; we mustn't give them to a second player (excluding the unassigned ID: -1)
std::set<i32> usedIDs;
for (const std::pair<CStr, PlayerAssignment>& p : m_PlayerAssignments)
for (const std::pair<const CStr, PlayerAssignment>& p : m_PlayerAssignments)
if (p.second.m_Enabled && p.second.m_PlayerID != -1)
usedIDs.insert(p.second.m_PlayerID);