mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-31 05:00:35 +00:00
fix a /really/ silly error that broke def relocations
This commit is contained in:
parent
a4ad662b63
commit
bf858856b8
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ fixup_def (qfo_t *qfo, qfo_def_t *def, int def_num)
|
||||||
|
|
||||||
if ((def->flags & (QFOD_LOCAL | QFOD_ABSOLUTE)))
|
if ((def->flags & (QFOD_LOCAL | QFOD_ABSOLUTE)))
|
||||||
return;
|
return;
|
||||||
if (!def->flags & QFOD_EXTERNAL) {
|
if (!(def->flags & QFOD_EXTERNAL)) {
|
||||||
def->ofs += data_base;
|
def->ofs += data_base;
|
||||||
if (def->basic_type == ev_func && (def->flags & QFOD_INITIALIZED)) {
|
if (def->basic_type == ev_func && (def->flags & QFOD_INITIALIZED)) {
|
||||||
func = funcs.funcs + data->data[def->ofs].func_var - 1 + func_base;
|
func = funcs.funcs + data->data[def->ofs].func_var - 1 + func_base;
|
||||||
|
|
Loading…
Reference in a new issue