refactor: support multiple variants for games in zonecode

This commit is contained in:
Jan Laupetin committed 2026-10-22 20:01:00 +02:00
1 parent 5abb04555a
commit 7c957c16a2
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;
}