mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-01-25 09:23:03 +00:00
fix: do not try to add indirect asset references without name
This commit is contained in:
@@ -25,7 +25,7 @@ void BaseAssetMarker::MarkArray_ScriptString(scr_string_t* scriptStringArray, co
|
||||
|
||||
void BaseAssetMarker::Mark_IndirectAssetRef(const asset_type_t assetType, const char* assetName) const
|
||||
{
|
||||
if (!assetName)
|
||||
if (!assetName || !assetName[0])
|
||||
return;
|
||||
|
||||
m_visitor.Visit_IndirectAssetRef(assetType, assetName);
|
||||
|
||||
Reference in New Issue
Block a user