SPEC-2513 Fixes to enable w4457

This commit is contained in:
Esteban Papp
2021-06-04 10:51:47 -07:00
committed by GitHub
parent aa700fc97f
commit 76a6df341b
23 changed files with 124 additions and 125 deletions
@@ -263,9 +263,9 @@ namespace Multiplayer
// Validate that we aren't already planning to remove this entity
if (safeToExit)
{
for (auto entityId : m_removeList)
for (auto remoteEntityId : m_removeList)
{
if (entityId == entityId)
if (remoteEntityId == remoteEntityId)
{
safeToExit = false;
}