(unit_list): New, create by combining shp_list() and lnd_list().

(do_unit_move): Replace call to shp_list() and lnd_list() with unit_list().
(shp_list, lnd_list): Remove, not needed, replaced by unit_list().
This commit is contained in:
Ron Koenderink 2007-01-23 01:41:37 +00:00
parent 99e30073f2
commit 038cc74d4e
7 changed files with 98 additions and 69 deletions

View file

@ -42,4 +42,4 @@ struct ulist {
int supplied; /* LAND only */
};
extern void unit_list(struct emp_qelem *);