]> git.pond.sub.org Git - empserver/commit
navigate march: Nicer error messages for sub-command 'm'
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 29 Dec 2014 18:49:39 +0000 (19:49 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sat, 28 Feb 2015 15:13:15 +0000 (16:13 +0100)
commit92f36aa4f56431d020d8480ebce7c87cb771d4d6
treee5c429f54d05ccdc65cca783c6b4c1bbeeacba55
parentf1042f82f1415a69ecded29b541507147f9698ac
navigate march: Nicer error messages for sub-command 'm'

Don't report every incapable ship or land unit.  Complain only when
there are no capable ships or land units available.

The ships are all in the same sector, so complain about the sector
type just once instead of once per capable ship or land unit.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/subs/lndsub.c
src/lib/subs/shpsub.c
tests/navi-march/journal.log