mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-01-20 04:34:48 +00:00
Fixed bad return type for AssetManager::getAssetLooseFile
This commit is contained in:
parent
bb7ee38bf4
commit
51a43d5be1
|
|
@ -2482,7 +2482,7 @@ const char* AssetManager::getAssetLooseFile(const char* pAssetId, const S32& ind
|
|||
{
|
||||
// No, so warn.
|
||||
Con::warnf("Asset Manager: Failed to get loose file for asset Id '%s' as it does not exist.", pAssetId);
|
||||
return false;
|
||||
return StringTable->EmptyString();
|
||||
}
|
||||
|
||||
if(index < 0 || index >= pAssetDefinition->mAssetLooseFiles.size())
|
||||
|
|
|
|||
Loading…
Reference in a new issue