mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-12-02 14:08:39 +00:00
chore: fix loading and writing code for IW5
This commit is contained in:
128 files changed
+1554
-2535
No files matched your search
@@ -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