summaryrefslogtreecommitdiff
path: root/src/os
diff options
context:
space:
mode:
authorrubidium42 <rubidium42@users.noreply.github.com>2021-04-11 13:52:55 +0200
committerGitHub <noreply@github.com>2021-04-11 13:52:55 +0200
commitdf045b92ea45ef757dfcfded4b72028ee18ebf0d (patch)
treefd7f230e07c73f770a573aa21b4cf75517972793 /src/os
parentfdc8230dfa05ffe352f34a302efa40b27f338e5f (diff)
downloadopenttd-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