mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
Skip field immediates when generating progdefs.h
They break the very fragile algorithm :P.
This commit is contained in:
parent
3c67e8f020
commit
00192ea1da
1 changed files with 2 additions and 0 deletions
|
@ -261,6 +261,8 @@ WriteProgdefs (dprograms_t *progs, const char *filename)
|
|||
continue;
|
||||
if (def->type != ev_field)
|
||||
continue;
|
||||
if (!strcmp (name, ".imm"))
|
||||
continue;
|
||||
|
||||
fdef = (ddef_t *) ((char *) progs + progs->ofs_fielddefs) + j++;
|
||||
if (fdef->s_name != def->s_name)
|
||||
|
|
Loading…
Reference in a new issue