mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
Find lost type encoding relocations
I have no idea why I thought it was a good idea to delete those lines. Yay for regression tests, though.
This commit is contained in:
parent
806af85447
commit
3aabfa71d9
1 changed files with 4 additions and 0 deletions
|
@ -1013,6 +1013,10 @@ qfo_to_progs (qfo_t *qfo, int *size)
|
|||
globaldefs++;
|
||||
}
|
||||
|
||||
for (i = 0; i < qfo->spaces[qfo_type_space].num_defs; i++) {
|
||||
qfo->spaces[qfo_type_space].defs[i].offset += type_encodings_start;
|
||||
}
|
||||
|
||||
for (i = 0; i < qfo->spaces[qfo_entity_space].num_defs; i++) {
|
||||
convert_def (qfo, qfo->spaces[qfo_entity_space].defs + i,
|
||||
fielddefs + i);
|
||||
|
|
Loading…
Reference in a new issue