]> git.pond.sub.org Git - empserver/commit
attack assault paradrop: Execute spies on takeover
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 24 Jul 2016 09:34:13 +0000 (11:34 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:18 +0000 (20:09 +0200)
commiteb77d64b55b3d906bf14e19e3a85520e25c11ccd
treeee72525df97395d672d5256541fd33a0f0938f85
parent223ff1d75f63e9663e6d33cb6142c47b47cebbd8
attack assault paradrop: Execute spies on takeover

When the attacker takes a sector, spies try to hide.  If they fail,
they're treated like any other land unit: they attempt to
self-destruct, and if the damage isn't lethal, they get captured.
Successful self-destruct is reported as "blown up by the crew", which
makes no sense for spies.  Spies surviving self-destruct is odd, as
any damage is normally fatal for them.

Extend the special case for spies: summarily execute the ones that
fail to hide.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/takeover.c