Fix #12957: 1-in-X proportion of towns being cities is unnecessarily random. (#12960)
commitd450d4743eba8b3f6cba8c0f1ca92e836188edba
authorPeter Nelson <peter1138@openttd.org>
Sun, 22 Sep 2024 13:42:01 +0000 (22 14:42 +0100)
committerGitHub <noreply@github.com>
Sun, 22 Sep 2024 13:42:01 +0000 (22 14:42 +0100)
tree0f0b51649d6c0a9872ae2f5d0f1da1d86d407be4
parente45e8a39c87f0452823e26e9579ac92a4a7921b5
Fix #12957: 1-in-X proportion of towns being cities is unnecessarily random. (#12960)

Using an actual random chance to generate cities means that there may be far less or far more than 'expected' towns being made as cities.

While this is the point of randomness, the wording of the setting is "Proporation of towns that will become cities: 1 in X" and does not mention randomness at all.
src/town_cmd.cpp