mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-02-18 18:01:13 +00:00
fix an off by one error that was mangling functions
This commit is contained in:
parent
58ecbd1171
commit
9b6980ac7b
1 changed files with 1 additions and 1 deletions
|
@ -358,7 +358,7 @@ fixup_relocs ()
|
|||
data->data[reloc->ofs].integer_var = def->ofs;
|
||||
break;
|
||||
case rel_def_func:
|
||||
data->data[reloc->ofs].integer_var = reloc->def;
|
||||
data->data[reloc->ofs].integer_var = reloc->def + 1;
|
||||
break;
|
||||
case rel_def_string:
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue