]> 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>
Sun, 21 Mar 2010 08:34:09 +0000 (09:34 +0100)
commit7f3f9c67264dc49e3814cde2d693fe73bfd08ea7
treec6f49a2fb9366f543e7f479106a0b77c89ef100e
parentb14edd0f7c8ef6e417fb4be08b1e9d0ca2340648
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.
(cherry picked from commit 876f3424b0bb28efab505722d89b34395ad43ae6)
src/lib/subs/mslsub.c
src/lib/subs/plnsub.c