Merge pull request #1114 from Azaezel/alpha41/assetAnalysisAugs

asset load flow work
This commit is contained in:
Brian Roberts 2023-10-21 01:37:38 -05:00 committed by GitHub
commit a8194fdf3a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 175 additions and 44 deletions

View file

@ -527,7 +527,8 @@ bool afxMagicMissileData::preload(bool server, String &errorStr)
Con::errorf(ConsoleLogEntry::General, "afxMagicMissileData::preload: Invalid packet, bad datablockid(lightDesc): %d", lightDescId);
}
if (!mProjectileShapeAsset.isNull())
U32 assetStatus = ShapeAsset::getAssetErrCode(mProjectileShapeAsset);
if (assetStatus == AssetBase::Ok || assetStatus == AssetBase::UsingFallback)
{
projectileShape = mProjectileShapeAsset->getShapeResource();
if (bool(projectileShape) == false)