(ship_bomb): Clarify. Also gets rid of compiler warning.

This commit is contained in:
Markus Armbruster 2005-02-24 17:55:28 +00:00
parent 8bb79caa87
commit b360d076d3

View file

@ -554,7 +554,7 @@ ship_bomb(struct emp_qelem *list, struct sctstr *target)
} }
if (shipno < 0) if (shipno < 0)
continue; continue;
if ((plp->pcp->pl_flags & P_A) && !on_shiplist(n, head)) if ((plp->pcp->pl_flags & P_A) && !on_shiplist(shipno, head))
continue; continue;
shell = gun = 0; shell = gun = 0;