]> git.pond.sub.org Git - empserver/commitdiff
fire: Drop a sanity check that can't fail
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 8 Feb 2015 11:09:05 +0000 (12:09 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 2 Mar 2015 07:20:51 +0000 (08:20 +0100)
Can't fail since commit 66165f3, v4.3.14.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/mfir.c

index 3e58b55487aaa74fdccaed18fb74847b017f5704..fbe2245592b62b3d9e4b3cc9339b7aba056e3069 100644 (file)
@@ -280,10 +280,6 @@ multifire(void)
                if (target == targ_sub)
                    /* Don't tell it's a sub */
                    range2 = -1;
-               if (fship.shp_item[I_GUN] == 0) {
-                   pr("Insufficient arms.\n");
-                   continue;
-               }
                dam = shp_fire(&fship);
            }
            fship.shp_mission = 0;