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
|
@ -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