fix PStruct::AddField not passing mDefFileNo

This commit is contained in:
Ricardo Luís Vaz Silva 2023-03-26 01:31:07 -03:00 committed by Christoph Oelckers
parent 86e4d064e2
commit b60b3fc09a

View file

@ -2957,7 +2957,7 @@ bool PStruct::ReadValue(FSerializer &ar, const char *key, void *addr) const
PField *PStruct::AddField(FName name, PType *type, uint32_t flags)
{
assert(type->Size > 0);
return Symbols.AddField(name, type, flags, Size, &Align);
return Symbols.AddField(name, type, flags, Size, &Align, mDefFileNo);
}
//==========================================================================