mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-03-20 01:11:18 +00:00
don't fuss with function defs that aren't initialized
This commit is contained in:
parent
24a9b48127
commit
d8a38ae648
1 changed files with 1 additions and 1 deletions
|
@ -484,7 +484,7 @@ move_def (hashtab_t *deftab, qfo_def_t *d)
|
|||
relocs.relocs[d->relocs + j].type = rel_none;
|
||||
final_relocs.relocs[def->relocs + j].def = def_num;
|
||||
}
|
||||
if (d->basic_type == ev_func) {
|
||||
if ((d->flags & QFOD_CONSTANT) && d->basic_type == ev_func) {
|
||||
qfo_func_t *func;
|
||||
func = funcs.funcs + DATA (d->ofs)->func_var - 1;
|
||||
func->def = def_num;
|
||||
|
|
Loading…
Reference in a new issue