Nuclear-tipped missile exploding on launch could not damage base
Commita269cdd7
(v4.3.23) removed the nuclear damage. But it left the nuke on the missile, which made pln_damage() oops and return zero damage. Fix by destroying the nuke separately. (cherry picked from commit876f3424b0
)
This commit is contained in:
parent
b14edd0f7c
commit
7f3f9c6726
2 changed files with 7 additions and 1 deletions
|
@ -988,7 +988,7 @@ pln_damage(struct plnstr *pp, char type, int noisy)
|
|||
int effective = 1;
|
||||
int pinbomber = 0;
|
||||
|
||||
if (CANT_HAPPEN(nuk_on_plane(pp) >= 0)) /* FIXME check uses! */
|
||||
if (CANT_HAPPEN(nuk_on_plane(pp) >= 0))
|
||||
return 0;
|
||||
|
||||
load = pln_load(pp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue