plp = (struct plist *)qp;
if (changed_plane_aborts(plp))
continue;
- if ((plp->pcp->pl_flags & P_C) && (!(plp->pcp->pl_flags & P_T)))
- continue;
if (plp->bombs || nuk_on_plane(&plp->plane) >= 0)
dam += pln_damage(&plp->plane, target->sct_x, target->sct_y,
'p', &nukedam, 1);
plp = (struct plist *)qp;
if (changed_plane_aborts(plp))
continue;
- if ((plp->pcp->pl_flags & P_C) && (!(plp->pcp->pl_flags & P_T)))
- continue;
if (plp->bombs || nuk_on_plane(&plp->plane) >= 0)
dam += pln_damage(&plp->plane, target->sct_x, target->sct_y,
'p', &nukedam, 1);
plp = (struct plist *)qp;
if (changed_plane_aborts(plp))
continue;
- if ((plp->pcp->pl_flags & P_C) && (!(plp->pcp->pl_flags & P_T)))
- continue;
if (plp->pcp->pl_flags & P_A)
nships = asw_shipsatxy(target->sct_x, target->sct_y, 0, 0,
&plp->plane, &head);
plp = (struct plist *)qp;
if (changed_plane_aborts(plp))
continue;
- if ((plp->pcp->pl_flags & P_C) && (!(plp->pcp->pl_flags & P_T)))
- continue;
nplanes = planesatxy(target->sct_x, target->sct_y, 0, 0);
if (nplanes == 0) {
pr("%s could not find any planes!\n", prplane(&plp->plane));
plp = (struct plist *)qp;
if (changed_plane_aborts(plp))
continue;
- if ((plp->pcp->pl_flags & P_C) && (!(plp->pcp->pl_flags & P_T)))
- continue;
nunits = unitsatxy(target->sct_x, target->sct_y, 0, 0);
if (nunits == 0) {
pr("%s could not find any units!\n", prplane(&plp->plane));
for (qp = list->q_forw; qp != list; qp = qp->q_forw) {
plp = (struct plist *)qp;
- if ((plp->pcp->pl_flags & P_C) && (!(plp->pcp->pl_flags & P_T)))
- continue;
if (plp->bombs || nuk_on_plane(&plp->plane) >= 0)
dam += pln_damage(&plp->plane, target->sct_x, target->sct_y,
's', &nukedam, 1);