mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-26 06:37:52 -05:00
chore: fix loading and writing code for IW5
This commit is contained in:
@ -61,7 +61,7 @@ public:
|
||||
{
|
||||
static_assert(std::is_base_of_v<IAssetBase, AssetType>);
|
||||
|
||||
return LoadIndirectAssetReferenceInternal(AssetType::EnumEntry, assetName);
|
||||
return LoadIndirectAssetReferenceGeneric(AssetType::EnumEntry, assetName);
|
||||
}
|
||||
|
||||
IndirectAssetReference LoadIndirectAssetReferenceGeneric(asset_type_t assetType, const std::string& assetName);
|
||||
|
@ -1,7 +1,10 @@
|
||||
#include "AssetCreationResult.h"
|
||||
|
||||
#include <cassert>
|
||||
|
||||
AssetCreationResult AssetCreationResult::Success(XAssetInfoGeneric* assetInfo)
|
||||
{
|
||||
assert(assetInfo);
|
||||
return AssetCreationResult(true, assetInfo);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user