(pinflak_planedamage): Grant +1 vs. flak only to non-tactical bombers,
for consistency with ac_fireflak().
This commit is contained in:
parent
d06dc534ed
commit
d9c48789fb
1 changed files with 3 additions and 1 deletions
|
@ -864,7 +864,9 @@ pinflak_planedamage(struct plnstr *pp, struct plchrstr *pcp, natid from,
|
||||||
natid plane_owner;
|
natid plane_owner;
|
||||||
int dam;
|
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)
|
if (pcp->pl_flags & P_X)
|
||||||
flak -= 2;
|
flak -= 2;
|
||||||
if (pcp->pl_flags & P_H)
|
if (pcp->pl_flags & P_H)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue