Revert "subs: Add unitsatxy() parameter only_count"
This reverts commit 9b33a4c598
.
Parameter only_count was introduced so would_abandon() could use
unitsatxy(), but that was a flawed idea, fixed in the previous commit.
No callers passing non-zero remain, so get rid of it.
Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
7224442533
commit
08ffefab17
3 changed files with 9 additions and 11 deletions
|
@ -446,7 +446,7 @@ extern int roundrange(double);
|
|||
/* list.c */
|
||||
extern int shipsatxy(coord, coord, int, int, int);
|
||||
extern int carriersatxy(coord, coord, natid);
|
||||
extern int unitsatxy(coord, coord, int, int, int);
|
||||
extern int unitsatxy(coord, coord, int, int);
|
||||
extern int planesatxy(coord, coord, int, int);
|
||||
extern int asw_shipsatxy(coord, coord, int, int, struct plnstr *,
|
||||
struct shiplist **);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue