Fixes for clang builds
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
@@ -175,7 +175,7 @@ namespace Multiplayer
|
|||||||
AZStd::vector<AZ::EntityId> allChildren;
|
AZStd::vector<AZ::EntityId> allChildren;
|
||||||
AZ::TransformBus::EventResult(allChildren, underEntity, &AZ::TransformBus::Events::GetChildren);
|
AZ::TransformBus::EventResult(allChildren, underEntity, &AZ::TransformBus::Events::GetChildren);
|
||||||
|
|
||||||
for (const AZ::EntityId newChildId : allChildren)
|
for (const AZ::EntityId& newChildId : allChildren)
|
||||||
{
|
{
|
||||||
if (!RecursiveAttachHierarchicalChild(newChildId, currentEntityCount))
|
if (!RecursiveAttachHierarchicalChild(newChildId, currentEntityCount))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user