mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-09-09 07:27:05 +00:00
fix: not adding offset of reusable type when type is not structure
This commit is contained in:
@@ -661,7 +661,7 @@ namespace
|
||||
|
||||
void PrintFillStruct_Struct(const StructureInformation& info)
|
||||
{
|
||||
if (info.m_reusable_reference_exists)
|
||||
if (info.m_type_info && info.m_type_info->m_reusable_reference_exists)
|
||||
{
|
||||
LINEF("m_stream.AddPointerLookup({0}, fillAccessor.BlockBuffer(0));", MakeTypeVarName(info.m_definition))
|
||||
LINE("")
|
||||
|
||||
Reference in New Issue
Block a user