From ba710c1c7c5d8b35aca7de973970c2742913de67 Mon Sep 17 00:00:00 2001 From: Markus Armbruster Date: Fri, 21 Mar 2008 17:03:30 +0100 Subject: [PATCH] Remove leftover test for anti-satellite nuke in detonate() These existed in Chainsaw many years ago. --- src/lib/subs/detonate.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/subs/detonate.c b/src/lib/subs/detonate.c index 8a619c5a8..8ea31991e 100644 --- a/src/lib/subs/detonate.c +++ b/src/lib/subs/detonate.c @@ -157,7 +157,7 @@ detonate(struct nukstr *np, coord x, coord y, int airburst) continue; if ((own = plane.pln_own) == 0) continue; - if ((plane.pln_flags & PLN_LAUNCHED) && (airburst != 2)) + if (plane.pln_flags & PLN_LAUNCHED) continue; damage = nukedamage(ncp, ni.curdist, airburst) - plane.pln_harden; if (damage <= 0) -- 2.43.0