diff options
author | Charles Pigott <charlespigott@googlemail.com> | 2019-02-18 23:55:45 +0000 |
---|---|---|
committer | PeterN <peter@fuzzle.org> | 2019-03-16 22:30:11 +0000 |
commit | fe448a26166dbde1933be797951f0c6329523911 (patch) | |
tree | 20d9ad7cf6bf6067a929a3d0b69375387771128c /src/settings.cpp | |
parent | c7b5f34138cf08016239c6f5732e5ae8c0262230 (diff) | |
download | openttd-fe448a26166dbde1933be797951f0c6329523911.tar.xz |
Remove: OPF
Diffstat (limited to 'src/settings.cpp')
-rw-r--r-- | src/settings.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/settings.cpp b/src/settings.cpp index 1fc2682cd..6ea5c081a 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -2275,18 +2275,6 @@ static void Save_PATS() SaveSettings(_settings, &_settings_game); } -void CheckConfig() -{ - /* - * Increase old default values for pf_maxdepth and pf_maxlength - * to support big networks. - */ - if (_settings_newgame.pf.opf.pf_maxdepth == 16 && _settings_newgame.pf.opf.pf_maxlength == 512) { - _settings_newgame.pf.opf.pf_maxdepth = 48; - _settings_newgame.pf.opf.pf_maxlength = 4096; - } -} - extern const ChunkHandler _setting_chunk_handlers[] = { { 'OPTS', NULL, Load_OPTS, NULL, NULL, CH_RIFF}, { 'PATS', Save_PATS, Load_PATS, NULL, Check_PATS, CH_RIFF | CH_LAST}, |