Drop could_be_on_ship()'s load count parameters
Just one caller wants them. Inline that call, and simplify the others.
This commit is contained in:
parent
665d0d723d
commit
72f1e22b95
3 changed files with 12 additions and 14 deletions
|
@ -508,8 +508,7 @@ extern int pln_onewaymission(struct sctstr *, int *, int *);
|
|||
extern int pln_oneway_to_carrier_ok(struct emp_qelem *,
|
||||
struct emp_qelem *, int);
|
||||
extern void pln_newlanding(struct emp_qelem *, coord, coord, int);
|
||||
extern int could_be_on_ship(struct plnstr *, struct shpstr *,
|
||||
int, int, int, int);
|
||||
extern int could_be_on_ship(struct plnstr *, struct shpstr *);
|
||||
extern int put_plane_on_ship(struct plnstr *, struct shpstr *);
|
||||
extern void pln_dropoff(struct emp_qelem *, struct ichrstr *,
|
||||
coord, coord, int);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue