diff options
author | rubidium42 <rubidium42@users.noreply.github.com> | 2021-04-11 13:52:55 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-11 13:52:55 +0200 |
commit | df045b92ea45ef757dfcfded4b72028ee18ebf0d (patch) | |
tree | fd7f230e07c73f770a573aa21b4cf75517972793 /src/os | |
parent | fdc8230dfa05ffe352f34a302efa40b27f338e5f (diff) | |
download | openttd-df045b92ea45ef757dfcfded4b72028ee18ebf0d.tar.xz |
Fix #9008: Validate starting year given on the command line. (#9014)
An invalid starting year causes all sorts of weird behaviour and crashes in map generation.
Now just set the appropriate setting via IConsoleSetSetting so the validation
and, if needed, clamping is performed on the starting year value.
Diffstat (limited to 'src/os')
0 files changed, 0 insertions, 0 deletions