fairland: Change try_to_grow()'s last argument to extra_dist
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 2 Aug 2020 15:38:29 +0000 (17:38 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 5 Jan 2021 09:41:36 +0000 (10:41 +0100)
commit6a7eaee42f08c26c6cac585debd8b117410d2617
tree6d6e8466d1ba4d2af890aaf31630575793294cc1
parentcd7c4cdf209eb281419eca037aab97ee650557fb
fairland: Change try_to_grow()'s last argument to extra_dist

Callers pass @di for continents, @id for islands, possibly plus some
extra distance.  Pass just the extra distance, and compute the rest in
try_to_grow().  This  prepares for the next commit.

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