mirror of
https://github.com/ZDoom/gzdoom.git
synced 2025-03-03 08:01:04 +00:00
fix PStruct::AddField not passing mDefFileNo
This commit is contained in:
parent
86e4d064e2
commit
b60b3fc09a
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
PField *PStruct::AddField(FName name, PType *type, uint32_t flags)
|
||||||
{
|
{
|
||||||
assert(type->Size > 0);
|
assert(type->Size > 0);
|
||||||
return Symbols.AddField(name, type, flags, Size, &Align);
|
return Symbols.AddField(name, type, flags, Size, &Align, mDefFileNo);
|
||||||
}
|
}
|
||||||
|
|
||||||
//==========================================================================
|
//==========================================================================
|
||||||
|
|
Loading…
Reference in a new issue