mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Fix adding offsets on strings and assets
This commit is contained in:
@ -397,6 +397,16 @@ class ZoneWriteTemplate::Internal final : BaseTemplate
|
||||
return false;
|
||||
}
|
||||
|
||||
if (member->m_is_string)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (member->m_type && StructureComputations(member->m_type).IsAsset())
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user