(unit_path): New, create by combining shp_path() and lnd_path().
(do_unit_move): Replace shp_path() and lnd_path() with unit_path(). (shp_path, lnd_path): Remove shp_path() and lnd_path(), not used any more.
This commit is contained in:
parent
d94d269769
commit
aee2bc78e2
7 changed files with 55 additions and 82 deletions
|
@ -191,7 +191,6 @@ extern int lnd_check_mines(struct emp_qelem *);
|
|||
extern double lnd_pathcost(struct lndstr *, double);
|
||||
extern int lnd_mobtype(struct lndstr *);
|
||||
extern double lnd_mobcost(struct lndstr *, struct sctstr *);
|
||||
extern char *lnd_path(int, struct lndstr *, char *);
|
||||
|
||||
extern double attack_val(int, struct lndstr *);
|
||||
extern double defense_val(struct lndstr *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue