Only L_SUPPLY units can't attack as of 4.0.0, fix info Attacking,

remove dead code.
This commit is contained in:
Markus Armbruster 2006-04-26 18:49:33 +00:00
parent 25fd374d53
commit 9e6cb0bda6
2 changed files with 2 additions and 8 deletions

View file

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