Added support for tracking extra dependencies in Corruption areas (necessary to avoid crashes)

This commit is contained in:
Aruki
2017-07-26 01:30:52 -06:00
parent 95d0279027
commit f980bc7536
9 changed files with 122 additions and 25 deletions

View File

@@ -195,7 +195,7 @@ void CAnimationParameters::SetResource(const CAssetID& rkID)
if (!pEntry)
Log::Error("Invalid resource ID passed to CAnimationParameters: " + rkID.ToString());
else if (pEntry->ResourceType() != eAnimSet)
else if (pEntry->ResourceType() != eAnimSet && pEntry->ResourceType() != eCharacter)
Log::Error("Resource with invalid type passed to CAnimationParameters: " + pEntry->CookedAssetPath().GetFileName());
}
}