mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-19 15:30:50 +00:00
Clear out the type encoding def from all types.
The encodings of static types were getting corrupted because their defs were not necessarily in the same places between compilations when compiling multiple files.
This commit is contained in:
parent
a3a22f2a1b
commit
7a25283beb
1 changed files with 4 additions and 0 deletions
|
@ -124,6 +124,10 @@ static void
|
|||
InitData (void)
|
||||
{
|
||||
pr_lineno_t *line;
|
||||
type_t *type;
|
||||
|
||||
for (type = pr.types; type; type = type->next)
|
||||
type->type_def = 0;
|
||||
|
||||
if (pr.code) {
|
||||
codespace_delete (pr.code);
|
||||
|
|
Loading…
Reference in a new issue