]> git.pond.sub.org Git - empserver/commit
bomb: Disallow bombing spy units
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 14 May 2016 20:15:21 +0000 (22:15 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 12:00:02 +0000 (14:00 +0200)
commit7688aed77a275b598ccfa21377209de8577329b2
tree03904203098fec3746245a70fbeb11539202a53d
parent08ffefab17c1537a9d4dd3ccea05001f921628de
bomb: Disallow bombing spy units

When bombing land units, the bombers get a chance to spot spies.  They
can target one even when it wasn't spotted.  This makes no sense.
Screwed up when spy units were added in 4.0.0.  Hide them completely.
They can still be killed via collateral damage.

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