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:
Markus Armbruster 2012-06-23 17:10:48 +02:00
parent 665d0d723d
commit 72f1e22b95
3 changed files with 12 additions and 14 deletions

View file

@ -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);