From 6b3827523e8b3f1e6a30efef9d6b3634e7ba9199 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Tue, 7 Jan 2014 21:52:32 +0100 Subject: [PATCH] fire: Drop useless special case "shp_fire() returns zero" Can't actually happen with the current damage formulas. If it could, then the special treatment would be inconsistent with sectors and land units. Signed-off-by: Markus Armbruster --- src/lib/commands/mfir.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/commands/mfir.c b/src/lib/commands/mfir.c index f6f95d1b..13056354 100644 --- a/src/lib/commands/mfir.c +++ b/src/lib/commands/mfir.c @@ -283,7 +283,7 @@ multifire(void) dam = shp_fire(&fship); } putship(fship.shp_uid, &fship); - if (dam == 0 || CANT_HAPPEN(dam < 0)) { + if (CANT_HAPPEN(dam < 0)) { pr("Klick! ...\n"); continue; }