mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 07:20:50 +00:00
Initialize the new type def.
Oops :P
This commit is contained in:
parent
3761cddca6
commit
05e6f00e72
1 changed files with 3 additions and 0 deletions
|
@ -561,6 +561,9 @@ process_type (qfo_t *qfo, qfo_mspace_t *space)
|
|||
}
|
||||
offset = transfer_type (qfo, space, def->offset);
|
||||
type_def = type_space->defs + type_space->num_defs++;
|
||||
memset (type_def, 0, sizeof (*type_def));
|
||||
type_def->name = add_string (name);
|
||||
type_def->offset = offset;
|
||||
ref = get_defref (type_def, type_space, &type_space->defs);
|
||||
Hash_Add (defined_type_defs, ref);
|
||||
while ((ref = Hash_Del (extern_type_defs, name))) {
|
||||
|
|
Loading…
Reference in a new issue