(unit_put): New, create by combining shp_put() and lnd_put().

(sail_nav_fleet, shp_nav_one_sector): Replace shp_put() with unit_put().
(lnd_mar_one_sector, att_fight, move_in_land): Replace lnd_put() with unit_put().
(shp_put, lnd_put): Remove.
This commit is contained in:
Ron Koenderink 2007-01-23 23:51:02 +00:00
parent 038cc74d4e
commit d94d269769
8 changed files with 39 additions and 56 deletions

View file

@ -28,7 +28,7 @@
* unit.h: Generalize unit data structures and functions.
*
* Known contributors to this file:
* Ron Koenderink, 2006
* Ron Koenderink, 2006-2007
* Markus Armbruster, 2006
*/
@ -43,3 +43,4 @@ struct ulist {
};
extern void unit_list(struct emp_qelem *);
extern void unit_put(struct emp_qelem *list, natid actor);