(can_be_on_ship, could_be_on_ship): Take pointer rather than UID
arguments. Rename. Callers changed.
This commit is contained in:
parent
51165cf3fc
commit
d3fcc89f56
4 changed files with 11 additions and 16 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue