Land units no longer sweep allied landmines
They don't hit them since commit fe372539
, v4.3.27. Sweeping was
forgotten then.
Closes #717591.
This commit is contained in:
parent
bf11d42c87
commit
0b7fba038a
1 changed files with 2 additions and 2 deletions
|
@ -549,10 +549,10 @@ lnd_sweep(struct emp_qelem *land_list, int verbose, int takemob,
|
|||
continue;
|
||||
}
|
||||
getsect(llp->unit.land.lnd_x, llp->unit.land.lnd_y, §);
|
||||
if (sect.sct_oldown == llp->unit.land.lnd_own) {
|
||||
if (relations_with(sect.sct_oldown, actor) == ALLIED) {
|
||||
if (verbose)
|
||||
mpr(actor,
|
||||
"%s is in a sector completely owned by you. Don't bother digging up mines there!\n",
|
||||
"%s is in a sector completely owned by you or an ally. Don't bother digging up mines there!\n",
|
||||
prland(&llp->unit.land));
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue