Remove commented out useless sub interdiction check
Submarines can only interdict ships. The check for that was replaced in v4.0.9. The old check was commented out. It should have been removed instead.
This commit is contained in:
parent
22175c1722
commit
c75e567b9e
1 changed files with 0 additions and 5 deletions
|
@ -468,11 +468,6 @@ perform_mission(coord x, coord y, natid victim, struct emp_qelem *list,
|
||||||
(mission == MI_SINTERDICT)) &&
|
(mission == MI_SINTERDICT)) &&
|
||||||
(md > ship_max_interdiction_range))
|
(md > ship_max_interdiction_range))
|
||||||
continue;
|
continue;
|
||||||
/*
|
|
||||||
if ((mcp->m_flags & M_SUB) &&
|
|
||||||
(sect.sct_type != SCT_WATER))
|
|
||||||
continue;
|
|
||||||
*/
|
|
||||||
if (mission == MI_SINTERDICT) {
|
if (mission == MI_SINTERDICT) {
|
||||||
if (!(mcp->m_flags & M_SONAR))
|
if (!(mcp->m_flags & M_SONAR))
|
||||||
continue;
|
continue;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue