]> git.pond.sub.org Git - empserver/commit
Nuclear-tipped missile exploding on launch could not damage base
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 13 Mar 2010 12:49:36 +0000 (13:49 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 16 Mar 2010 20:28:08 +0000 (21:28 +0100)
commit876f3424b0bb28efab505722d89b34395ad43ae6
tree8f26112b4e77c9e9201bed5232ad92bc0a149445
parent3a9d27186c086f3029ebcc7c890cb0cea9432aae
Nuclear-tipped missile exploding on launch could not damage base

Commit a269cdd7 (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.
src/lib/subs/mslsub.c
src/lib/subs/plnsub.c