mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- do not try to serialize static arrays.
This commit is contained in:
parent
d03c33f393
commit
7186342221
1 changed files with 1 additions and 1 deletions
|
@ -370,7 +370,7 @@ void PSymbolTable::WriteFields(FSerializer &ar, const void *addr, const void *de
|
|||
{
|
||||
const PField *field = dyn_cast<PField>(pair->Value);
|
||||
// Skip fields without or with native serialization
|
||||
if (field && !(field->Flags & (VARF_Transient | VARF_Meta)))
|
||||
if (field && !(field->Flags & (VARF_Transient | VARF_Meta | VARF_Static)))
|
||||
{
|
||||
// todo: handle defaults in WriteValue
|
||||
//auto defp = def == nullptr ? nullptr : (const uint8_t *)def + field->Offset;
|
||||
|
|
Loading…
Reference in a new issue