(retreat_ship1): Don't charge mobility for sweeping. Should have been
changed along with shpsub.c rev. 1.49.
This commit is contained in:
parent
0cf5c17f08
commit
6fd656a685
1 changed files with 0 additions and 1 deletions
|
@ -268,7 +268,6 @@ retreat_ship1(struct shpstr *sp, char code, int orig)
|
||||||
mines = sect.sct_mines;
|
mines = sect.sct_mines;
|
||||||
changed = 0;
|
changed = 0;
|
||||||
if ((mcp->m_flags & M_SWEEP) && sect.sct_type == SCT_WATER) {
|
if ((mcp->m_flags & M_SWEEP) && sect.sct_type == SCT_WATER) {
|
||||||
sp->shp_mobil -= mobcost;
|
|
||||||
max = mcp->m_item[I_SHELL];
|
max = mcp->m_item[I_SHELL];
|
||||||
shells = sp->shp_item[I_SHELL];
|
shells = sp->shp_item[I_SHELL];
|
||||||
for (m = 0; mines > 0 && m < 5; m++) {
|
for (m = 0; mines > 0 && m < 5; m++) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue