Minor refactor to address CR
Signed-off-by: AMZN-Olex <5432499+AMZN-Olex@users.noreply.github.com>
This commit is contained in:
@@ -103,12 +103,7 @@ namespace Multiplayer
|
||||
|
||||
bool NetworkHierarchyChildComponent::IsHierarchicalChild() const
|
||||
{
|
||||
if (GetHierarchyRoot() != InvalidNetEntityId)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
|
||||
return false;
|
||||
return GetHierarchyRoot() != InvalidNetEntityId;
|
||||
}
|
||||
|
||||
AZ::Entity* NetworkHierarchyChildComponent::GetHierarchicalRoot() const
|
||||
|
||||
Reference in New Issue
Block a user