(can_be_on_ship, could_be_on_ship): Take pointer rather than UID

arguments.  Rename.  Callers changed.
This commit is contained in:
Markus Armbruster 2007-10-31 06:39:37 +00:00
parent 51165cf3fc
commit d3fcc89f56
4 changed files with 11 additions and 16 deletions

View file

@ -1012,7 +1012,7 @@ mission_pln_sel(struct emp_qelem *list, int wantflags, int nowantflags,
free(qp);
continue;
}
if (!can_be_on_ship(pp->pln_uid, ship.shp_uid)) {
if (!could_be_on_ship(pp, &ship)) {
goto shipsunk;
}
if (ship.shp_effic < SHIP_MINEFF) {