Fix launch to require petrol for launching satellites
launch_sat() failed to call msl_equip(). Change msl_equip() to take the mission character as argument, because the old hardcoded 'p' isn't appropriate for satellites. Best fit for satellites is 'r' for reconnaissance, but mission_pln_equip() doesn't accept that (pln_equip() does). Fix that as well.
This commit is contained in:
parent
ee863c5d25
commit
15fab1c9a5
4 changed files with 10 additions and 5 deletions
|
@ -504,7 +504,7 @@ extern int move_ground(struct sctstr *, struct sctstr *,
|
|||
extern int fly_map(coord, coord);
|
||||
/* mslsub.c */
|
||||
extern int msl_intercept(coord, coord, natid, int, int, int, int);
|
||||
extern int msl_equip(struct plnstr *);
|
||||
extern int msl_equip(struct plnstr *, char);
|
||||
extern int msl_hit(struct plnstr *, int, int, int, int, char *,
|
||||
coord, coord, int);
|
||||
extern void msl_sel(struct emp_qelem *, coord, coord, natid, int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue