]> git.pond.sub.org Git - empserver/commit
fairland: De-duplicate map from elevation to sector type
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 8 Aug 2020 11:26:43 +0000 (13:26 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 5 Jan 2021 09:41:36 +0000 (10:41 +0100)
commitb53ecacf40c660ab4886891fbea303a512ebfc08
tree610ee2efb7709352980f943b79646e5c2eee3967
parentdb71fa497c3e799259071e572a57081a6ff8fb8e
fairland: De-duplicate map from elevation to sector type

Both write_sects() and map_symbol() map from elevation to sector type.
Factor out as elev_to_sct_type().  Inline map_symbol() into output()
and simplify.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/util/fairland.c