Dropped support for transient resources; I am not using this functionality at all whatsoever and likely won't for a while, so why do I have it?

This commit is contained in:
Aruki
2017-05-07 20:29:33 -06:00
parent 283444cea4
commit f72f82d519
29 changed files with 156 additions and 330 deletions

View File

@@ -22,7 +22,7 @@ void CScriptAttachNode::AttachPropertyModified()
if (mpAttachAssetProp)
{
if (mpAttachAssetProp->Type() == eAssetProperty)
mpAttachAsset = gpResourceStore->LoadResource( TPropCast<TAssetProperty>(mpAttachAssetProp)->Get(), "CMDL" );
mpAttachAsset = gpResourceStore->LoadResource<CModel>( TPropCast<TAssetProperty>(mpAttachAssetProp)->Get() );
else if (mpAttachAssetProp->Type() == eCharacterProperty)
mpAttachAsset = TPropCast<TCharacterProperty>(mpAttachAssetProp)->Get().AnimSet();