work: Don't let embarked engineers work
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 15 Jan 2021 07:16:13 +0000 (08:16 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 17 Jan 2021 20:24:29 +0000 (21:24 +0100)
commit37af1d7eb9083c203d0c6a7d566937509da098b5
treec5b1a504502f692b68a4f90ee7594262cad1b897
parent589bc1ed1a33af3c07fa413501acfe119f879cfb
work: Don't let embarked engineers work

Engineers can work even when loaded on a ship or land unit.  They
happily raise sea sector efficiency.  That's just wrong.  It's
questionable even on land, because unloading need not be possible.
Has been that way since the command was added in Empire 2.

Add the missing check.

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