From bba8db34d0395795f24663d801dfe85531000ecd Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Mon, 2 Mar 2009 09:06:31 +0100 Subject: [PATCH] Fix generation numbers for SAIL fltp_to_list() makes copies without going through ef_read(), and therefore needs to mark them fresh by hand. --- src/lib/update/sail.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/update/sail.c b/src/lib/update/sail.c index a1588759e..85570e388 100644 --- a/src/lib/update/sail.c +++ b/src/lib/update/sail.c @@ -347,6 +347,7 @@ fltp_to_list(struct fltheadstr *fltp, struct emp_qelem *list) sp = getshipp(fe->num); mlp->chrp = (struct empobj_chr *)(mchr + sp->shp_type); mlp->unit.ship = *sp; + ef_mark_fresh(EF_SHIP, &mlp->unit.ship); mlp->mobil = fe->mobil; emp_insque(&mlp->queue, list); } -- 2.43.0