march attack assault: Don't sweep with zero mobility
Require positive mobility for sweeping mines, just like ships do. Screwed up when land units were added in Chainsaw 3. Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
This commit is contained in:
parent
1702349e3d
commit
7787cae780
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ lnd_sweep(struct emp_qelem *land_list, int explicit, int takemob,
|
|||
prland(&llp->unit.land));
|
||||
continue;
|
||||
}
|
||||
if (takemob && llp->mobil < 0.0) {
|
||||
if (takemob && llp->mobil <= 0.0) {
|
||||
if (explicit)
|
||||
lnd_stays(actor, "is out of mobility", llp);
|
||||
continue;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue