bomb: Fix ship list header for ASW planes
The code to list ships got triplicated in Chainsaw. Empire 2 screwed up one copy in its global replace of owner by player->owner. Fix it by de-duplicating. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
e4654866cf
commit
67fe316c0c
4 changed files with 27 additions and 38 deletions
|
@ -450,6 +450,7 @@ extern int unitsatxy(coord, coord, int, int, int);
|
|||
extern int planesatxy(coord, coord, int, int);
|
||||
extern int asw_shipsatxy(coord, coord, int, int, struct plnstr *,
|
||||
struct shiplist **);
|
||||
extern void print_shiplist(struct shiplist *);
|
||||
extern int has_units(coord, coord, natid);
|
||||
extern int adj_units(coord, coord, natid);
|
||||
extern int islist(char *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue