Remove oprange()'s mission parameter
Use the current mission instead. Make mission() set it before calling oprange(), and clean up somewhat.
This commit is contained in:
parent
ca9af92523
commit
d5f371cc1d
3 changed files with 27 additions and 26 deletions
|
@ -483,7 +483,7 @@ extern int ground_interdict(coord, coord, natid, char *);
|
|||
extern int unit_interdict(coord, coord, natid, char *, int, int);
|
||||
extern int off_support(coord, coord, natid, natid);
|
||||
extern int def_support(coord, coord, natid, natid);
|
||||
extern int oprange(struct empobj *, int);
|
||||
extern int oprange(struct empobj *);
|
||||
extern int in_oparea(struct empobj *, coord, coord);
|
||||
extern int cando(int, int);
|
||||
extern int air_defense(coord, coord, natid, struct emp_qelem *,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue