Fix generation numbers for SAIL
fltp_to_list() makes copies without going through ef_read(), and therefore needs to mark them fresh by hand.
This commit is contained in:
parent
20b31defe7
commit
bba8db34d0
1 changed files with 1 additions and 0 deletions
|
@ -347,6 +347,7 @@ fltp_to_list(struct fltheadstr *fltp, struct emp_qelem *list)
|
||||||
sp = getshipp(fe->num);
|
sp = getshipp(fe->num);
|
||||||
mlp->chrp = (struct empobj_chr *)(mchr + sp->shp_type);
|
mlp->chrp = (struct empobj_chr *)(mchr + sp->shp_type);
|
||||||
mlp->unit.ship = *sp;
|
mlp->unit.ship = *sp;
|
||||||
|
ef_mark_fresh(EF_SHIP, &mlp->unit.ship);
|
||||||
mlp->mobil = fe->mobil;
|
mlp->mobil = fe->mobil;
|
||||||
emp_insque(&mlp->queue, list);
|
emp_insque(&mlp->queue, list);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue