From 9b0b0dc7729b7fadc09d5769cc1128341b3c3d33 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Wed, 8 May 2013 20:41:46 +0200 Subject: [PATCH] Permit ships that can drop depth charges, but not fire No such ships exist in the stock game. --- src/lib/commands/mfir.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/commands/mfir.c b/src/lib/commands/mfir.c index b6c7da2f2..bd7f6d22b 100644 --- a/src/lib/commands/mfir.c +++ b/src/lib/commands/mfir.c @@ -160,7 +160,8 @@ multifire(void) pr("Not enough mil on ship #%d\n", item.ship.shp_uid); continue; } - if (mchr[item.ship.shp_type].m_glim == 0) { + if (mchr[item.ship.shp_type].m_glim == 0 + && !(mchr[fship.shp_type].m_flags & M_DCH)) { pr("Ships %d cannot fire guns!\n", item.ship.shp_uid); continue; } -- 2.43.0