(switch_leader): Generalize the code, no functional changes.

(navi): Change switch_flagship() to call switch_leader() instead.
(switch_flagship): Remove, not needed, replaced with switch_leader().
This commit is contained in:
Ron Koenderink 2006-10-10 20:23:19 +00:00
parent a4e79680e3
commit fd49704a74
3 changed files with 8 additions and 30 deletions

View file

@ -62,6 +62,7 @@ extern int display_mark(i_type, int);
extern int want_to_abandon(struct sctstr *, i_type, int, struct lndstr *);
extern int would_abandon(struct sctstr *, i_type, int, struct lndstr *);
extern int nav_map(int, int, int);
extern void switch_leader(struct emp_qelem *list, int uid);
extern int count_pop(int);
extern int scuttle_tradeship(struct shpstr *, int);
extern void scuttle_ship(struct shpstr *);