Only L_SUPPLY units can't attack as of 4.0.0, fix info Attacking,
remove dead code.
This commit is contained in:
parent
25fd374d53
commit
9e6cb0bda6
2 changed files with 2 additions and 8 deletions
|
@ -77,9 +77,8 @@ Board: When boarding from a sector, the sector must have mob. When
|
|||
|
||||
The following restrictions apply to the aggressor's land units:
|
||||
A land unit must have mobility and be in supply (see info supply) in
|
||||
order to be able to enter the combat. Land units with "security",
|
||||
"supply" or "flak" capability may not attack. Also, you may not
|
||||
attack with artillery units (i.e. if frg > 0). Only land units with "assault"
|
||||
order to be able to enter the combat. Land units with "supply"
|
||||
capability may not attack. Only land units with "assault"
|
||||
capability may assault or board.
|
||||
Attack: The land unit must have at least as much mobility that it
|
||||
would cost for it to march into the sector.
|
||||
|
|
|
@ -1353,11 +1353,6 @@ lnd_can_attack(struct lndstr *lp)
|
|||
{
|
||||
struct lchrstr *lcp = &lchr[(int)lp->lnd_type];
|
||||
|
||||
/* if (lcp->l_flags & L_SUPPLY ||
|
||||
lcp->l_flags & L_SECURITY ||
|
||||
lcp->l_flags & L_FLAK ||
|
||||
lcp->l_frg)
|
||||
return 0; */
|
||||
if (lcp->l_flags & L_SUPPLY)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue