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:
Markus Armbruster 2016-06-19 12:31:16 +02:00
parent 4a714a37da
commit 6eb4fd3cbf
6 changed files with 13 additions and 22 deletions

View file

@ -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];
}
}
}