mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-06-10 14:58:10 -05:00
Fix errors in iw3 commands and structs
This commit is contained in:
@ -442,7 +442,7 @@ class ZoneLoadTemplate::Internal final : BaseTemplate
|
||||
if (member->m_type && !member->m_type->m_is_leaf && !computations.IsInRuntimeBlock())
|
||||
{
|
||||
LINE(MakeTypeVarName(member->m_member->m_type_declaration->m_type) << " = " << MakeMemberAccess(info, member, modifier) << ";")
|
||||
LINE("Load_" << MakeSafeTypeName(member->m_member->m_type_declaration->m_type) << "(true);")
|
||||
LINE("Load_" << MakeSafeTypeName(member->m_type->m_definition) << "(true);")
|
||||
|
||||
if (member->m_type->m_post_load_action)
|
||||
{
|
||||
|
@ -320,7 +320,7 @@ class ZoneWriteTemplate::Internal final : BaseTemplate
|
||||
if (member->m_type && !member->m_type->m_is_leaf && !computations.IsInRuntimeBlock())
|
||||
{
|
||||
LINE(MakeTypeVarName(member->m_member->m_type_declaration->m_type) << " = " << MakeMemberAccess(info, member, modifier) << ";")
|
||||
LINE("Write_" << MakeSafeTypeName(member->m_member->m_type_declaration->m_type) << "(true);")
|
||||
LINE("Write_" << MakeSafeTypeName(member->m_type->m_definition) << "(true);")
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user