mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-09-21 20:06:40 +00:00
Fix most of the new vs2017 induced warnings.
Refs: https://code.wildfiregames.com/D3096 https://code.wildfiregames.com/D3103 #5862 Reviewed by: @wraitii Comments by: @Angen Differential Revision: https://code.wildfiregames.com/D3126 This was SVN commit r24268.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2019 Wildfire Games.
|
||||
/* Copyright (C) 2020 Wildfire Games.
|
||||
* This file is part of 0 A.D.
|
||||
*
|
||||
* 0 A.D. is free software: you can redistribute it and/or modify
|
||||
@@ -153,10 +153,10 @@ void CNetServerTurnManager::NotifyFinishedClientUpdate(CNetServerSession& sessio
|
||||
CSyncErrorMessage msg;
|
||||
msg.m_Turn = clientStateHash.first;
|
||||
msg.m_HashExpected = expected;
|
||||
for (const CStrW& playername : OOSPlayerNames)
|
||||
for (const CStrW& oosPlayername : OOSPlayerNames)
|
||||
{
|
||||
CSyncErrorMessage::S_m_PlayerNames h;
|
||||
h.m_Name = playername;
|
||||
h.m_Name = oosPlayername;
|
||||
msg.m_PlayerNames.push_back(h);
|
||||
}
|
||||
m_NetServer.Broadcast(&msg, { NSS_INGAME });
|
||||
|
||||
Reference in New Issue
Block a user