]> git.pond.sub.org Git - empserver/commit
mission: Don't permit SAMs on escort missions
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 4 Jan 2021 08:58:52 +0000 (09:58 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 23 Jan 2021 07:39:13 +0000 (08:39 +0100)
commitda9d5c64043f767283076b3f975e3b67f4a79fd3
tree34760b698443936a147c677e5f66ca7b56a57cd4
parent628e2e8e8283fc445701b1b44ee6f1e5fd942af4
mission: Don't permit SAMs on escort missions

The mission code doesn't treat SAMs specially: they take off, fly out,
maybe fight, fly home, and land.  Landing triggers the oops in
pln_put1().

Letting SAMs escort makes no sense.  Fix the mission command to reject
them.

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