Преглед на файлове

Fixed bad return type for AssetManager::getAssetLooseFile

JeffR преди 4 месеца
родител
ревизия
51a43d5be1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      Engine/source/assets/assetManager.cpp

+ 1 - 1
Engine/source/assets/assetManager.cpp

@@ -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())