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>
Sat, 23 Jan 2021 07:39:14 +0000 (08:39 +0100)
commite23e4cd73890ff764b68e4062cc589b7a6a1e2d5
treef5b7e391f1dbc30ae23c0684b79afbe9ab2d11d5
parent5f3c64c062d9aaf638a595f71a5cb55d89d8520b
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