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
|
@ -1013,6 +1013,10 @@ qfo_to_progs (qfo_t *qfo, int *size)
|
||||||
globaldefs++;
|
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++) {
|
for (i = 0; i < qfo->spaces[qfo_entity_space].num_defs; i++) {
|
||||||
convert_def (qfo, qfo->spaces[qfo_entity_space].defs + i,
|
convert_def (qfo, qfo->spaces[qfo_entity_space].defs + i,
|
||||||
fielddefs + i);
|
fielddefs + i);
|
||||||
|
|
Loading…
Reference in New Issue