(shp_sweep): New parameter takemob. Charge mobility only if it's
true. (shp_nav_one_sector): Pass false. This lets minesweepers move at the speed their stats indicate. Closes #1498801. (navi): Pass true. This ensures sweeping without moving still costs mobility.
This commit is contained in:
parent
0252d4a750
commit
f900ac68cb
3 changed files with 9 additions and 7 deletions
|
@ -656,7 +656,7 @@ extern void show_news(int);
|
|||
/* shpsub.c */
|
||||
extern void shp_sel(struct nstr_item *, struct emp_qelem *);
|
||||
extern void shp_nav(struct emp_qelem *, double *, double *, int *, natid);
|
||||
extern int shp_sweep(struct emp_qelem *, int, natid);
|
||||
extern int shp_sweep(struct emp_qelem *, int, int, natid);
|
||||
extern char *shp_path(int, struct shpstr *, char *);
|
||||
extern void shp_put(struct emp_qelem *, natid);
|
||||
extern void shp_list(struct emp_qelem *);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue