update: Track oldowned civilians in nat_budget[]
Replace pops[] by nat_budget[].oldowned_civs. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
4a714a37da
commit
6eb4fd3cbf
6 changed files with 13 additions and 22 deletions
|
@ -224,7 +224,7 @@ upd_ship(struct shpstr *sp, int etus, struct bp *bp, int build)
|
|||
sp->shp_pstage = pstage;
|
||||
sp->shp_ptime = ptime;
|
||||
}
|
||||
pops[sp->shp_own] += sp->shp_item[I_CIVIL];
|
||||
budget->oldowned_civs += sp->shp_item[I_CIVIL];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue