mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-21 18:01:15 +00:00
Make field defs "nosave".
The engine treats fielddefs with DEF_SAVEGLOBAL set as bogus.
This commit is contained in:
parent
bc0cffc9c6
commit
0c0f4360da
1 changed files with 1 additions and 0 deletions
|
@ -355,6 +355,7 @@ init_field_def (def_t *def, expr_t *init, storage_class_t storage)
|
|||
if (!field_sym->s.def) {
|
||||
field_sym->s.def = new_def (def->name, type, pr.entity_data, storage);
|
||||
field_sym->s.def->relocs = relocs;
|
||||
field_sym->s.def->nosave = 1;
|
||||
}
|
||||
field_def = field_sym->s.def;
|
||||
if (!field_sym->table)
|
||||
|
|
Loading…
Reference in a new issue