Fix for variable that is only used in the debug config (#1166)
This commit is contained in:
@@ -299,8 +299,7 @@ namespace EMotionFX
|
||||
void ActorComponent::OnAssetReady(AZ::Data::Asset<AZ::Data::AssetData> asset)
|
||||
{
|
||||
m_configuration.m_actorAsset = asset;
|
||||
Actor* actor = m_configuration.m_actorAsset->GetActor();
|
||||
AZ_Assert(m_configuration.m_actorAsset.IsReady() && actor, "Actor asset should be loaded and actor valid.");
|
||||
AZ_Assert(m_configuration.m_actorAsset.IsReady() && m_configuration.m_actorAsset->GetActor(), "Actor asset should be loaded and actor valid.");
|
||||
|
||||
CheckActorCreation();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user