mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-08 09:41:59 +00:00
Fix errors in iw3 commands and structs
This commit is contained in:
1 parent
ecef868903
commit
4e05bc6b44
4 files changed
+29
-18
No files matched your search
@@ -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