]> git.pond.sub.org Git - empserver/commit
retreat: Clear mission only when ship or land unit moves
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 20 Jan 2014 20:05:57 +0000 (21:05 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 16 Feb 2014 12:19:25 +0000 (13:19 +0100)
commite7949e20f3cc5b8e0933291aad7f68141cda3437
tree1ec5dde7f18414dd687461d8fc6ba30a75a12b50
parent2cc0664e3e5a4f1c0a340def8333fe09345b0e7f
retreat: Clear mission only when ship or land unit moves

The mission gets cleared whenever a retreat is triggered, even for
ships and land units that are unable to retreat.

Clear it only when the ship or land unit actually retreats.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/retreat.c
tests/retreat/final.xdump
tests/retreat/journal.log