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:
Markus Armbruster 2008-06-04 20:29:54 +02:00
parent 22175c1722
commit c75e567b9e

View file

@ -468,11 +468,6 @@ perform_mission(coord x, coord y, natid victim, struct emp_qelem *list,
(mission == MI_SINTERDICT)) &&
(md > ship_max_interdiction_range))
continue;
/*
if ((mcp->m_flags & M_SUB) &&
(sect.sct_type != SCT_WATER))
continue;
*/
if (mission == MI_SINTERDICT) {
if (!(mcp->m_flags & M_SONAR))
continue;