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
|
@ -171,6 +171,5 @@ extern int ac_damage_plane(struct plnstr *, natid, int, int, char *);
|
|||
extern int on_shiplist(int, struct shiplist *);
|
||||
extern void add_shiplist(int, struct shiplist **);
|
||||
extern void free_shiplist(struct shiplist **);
|
||||
extern void print_shiplist(struct shiplist *);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue