(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
|
@ -156,7 +156,7 @@ navi(void)
|
|||
} else if (cp[-1] == 'i') {
|
||||
shp_list(&ship_list);
|
||||
} else {
|
||||
stopping |= shp_sweep(&ship_list, 1, player->cnum);
|
||||
stopping |= shp_sweep(&ship_list, 1, 0, player->cnum);
|
||||
}
|
||||
continue;
|
||||
} else if (*cp == 'r' || *cp == 'l' || *cp == 's') {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue