Remove leftover test for anti-satellite nuke in detonate()

These existed in Chainsaw many years ago.
This commit is contained in:
Markus Armbruster 2008-03-21 17:03:30 +01:00
parent 570ce80edf
commit ba710c1c7c

View file

@ -157,7 +157,7 @@ detonate(struct nukstr *np, coord x, coord y, int airburst)
continue; continue;
if ((own = plane.pln_own) == 0) if ((own = plane.pln_own) == 0)
continue; continue;
if ((plane.pln_flags & PLN_LAUNCHED) && (airburst != 2)) if (plane.pln_flags & PLN_LAUNCHED)
continue; continue;
damage = nukedamage(ncp, ni.curdist, airburst) - plane.pln_harden; damage = nukedamage(ncp, ni.curdist, airburst) - plane.pln_harden;
if (damage <= 0) if (damage <= 0)