load_plane_ship() and load_plane_land() duplicate code to check whether a plane can be loaded, except for the phrasing of one message. Factor out into plane_loadable(). tran_plane() has equivalent code, but wants different messages, which makes de-duplication unattractive. load_land_ship() and load_land_land() duplicate code to check whether a land unit can be loaded. Factor out into land_loadable(). Signed-off-by: Markus Armbruster <armbru@pond.sub.org> |
||
---|---|---|
.. | ||
01-load-1 | ||
02-load-POGO | ||
03-tend-1 | ||
04-tend-POGO | ||
05-ltend-1 | ||
06-ltend-POGO | ||
99-POGO | ||
final.xdump | ||
journal.log | ||
server.log | ||
setup-POGO |