mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-15 08:34:40 +00:00
Fixed bad return type for AssetManager::getAssetLooseFile
This commit is contained in:
parent
bb7ee38bf4
commit
51a43d5be1
1 changed files with 1 additions and 1 deletions
|
|
@ -2482,7 +2482,7 @@ const char* AssetManager::getAssetLooseFile(const char* pAssetId, const S32& ind
|
||||||
{
|
{
|
||||||
// No, so warn.
|
// No, so warn.
|
||||||
Con::warnf("Asset Manager: Failed to get loose file for asset Id '%s' as it does not exist.", pAssetId);
|
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())
|
if(index < 0 || index >= pAssetDefinition->mAssetLooseFiles.size())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue