(ship_bomb): Clarify. Also gets rid of compiler warning.
This commit is contained in:
parent
8bb79caa87
commit
b360d076d3
1 changed files with 1 additions and 1 deletions
|
@ -554,7 +554,7 @@ ship_bomb(struct emp_qelem *list, struct sctstr *target)
|
|||
}
|
||||
if (shipno < 0)
|
||||
continue;
|
||||
if ((plp->pcp->pl_flags & P_A) && !on_shiplist(n, head))
|
||||
if ((plp->pcp->pl_flags & P_A) && !on_shiplist(shipno, head))
|
||||
continue;
|
||||
|
||||
shell = gun = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue