From c75e567b9e3ce3f7b0cb221f6d6ce69f42e16e0c Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 4 Jun 2008 20:29:54 +0200 Subject: [PATCH] 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. --- src/lib/subs/mission.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/lib/subs/mission.c b/src/lib/subs/mission.c index 1b69b06d..1f05b85e 100644 --- a/src/lib/subs/mission.c +++ b/src/lib/subs/mission.c @@ -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;