(pinflak_planedamage): Grant +1 vs. flak only to non-tactical bombers,

for consistency with ac_fireflak().
This commit is contained in:
Markus Armbruster 2006-06-24 14:21:55 +00:00
parent d06dc534ed
commit d9c48789fb

View file

@ -864,7 +864,9 @@ pinflak_planedamage(struct plnstr *pp, struct plchrstr *pcp, natid from,
natid plane_owner;
int dam;
flak -= (pp->pln_def + 1);
flak -= pp->pln_def;
if ((pcp->pl_flags & P_T) == 0)
flak--;
if (pcp->pl_flags & P_X)
flak -= 2;
if (pcp->pl_flags & P_H)