mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-11-09 09:51:58 +00:00
fix: filling union members that are not supposed to be written
* This causes some pointers to be partially overwritten when filling in the wrong order as well
This commit is contained in:
15 files changed
+72
-69
No files matched your search
@@ -670,7 +670,7 @@ namespace
|
||||
{
|
||||
const MemberComputations computations(member);
|
||||
|
||||
if (computations.IsFirstUsedMember())
|
||||
if (computations.IsFirstUsedMember(false))
|
||||
{
|
||||
LINE("")
|
||||
if (member->m_condition)
|
||||
@@ -689,7 +689,7 @@ namespace
|
||||
MarkMember_Reference(info, member, DeclarationModifierComputations(member));
|
||||
}
|
||||
}
|
||||
else if (computations.IsLastUsedMember())
|
||||
else if (computations.IsLastUsedMember(false))
|
||||
{
|
||||
if (member->m_condition)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user