mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-10-31 06:41:58 +00:00
refactor: support multiple variants for games in zonecode
This commit is contained in:
61 files changed
+411
-288
No files matched your search
@@ -68,7 +68,8 @@ void HeaderBlockStruct::OnClose(HeaderParserState* state)
|
||||
|
||||
if (m_has_custom_align)
|
||||
{
|
||||
structDefinition->m_alignment = static_cast<unsigned>(m_custom_alignment);
|
||||
for (auto& alignment : structDefinition->m_alignment)
|
||||
alignment = static_cast<unsigned>(m_custom_alignment);
|
||||
structDefinition->m_flags |= DefinitionWithMembers::FLAG_ALIGNMENT_FORCED;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user